Re: File upload failing occasionally

2009-01-06 Thread Graham Dumpleton
On Jan 6, 10:31 pm, ppdo wrote: > To Karen: yes, I meant TCP RST, sorry. > > Update: > > Using mod_wsgi made the problem go away for Firefox. > > Limiting my research to an interaction problem between Apache and > Safari, I stumbled upon this bug report for Apache >

Re: File upload failing occasionally

2009-01-06 Thread ppdo
To Karen: yes, I meant TCP RST, sorry. Update: Using mod_wsgi made the problem go away for Firefox. Limiting my research to an interaction problem between Apache and Safari, I stumbled upon this bug report for Apache https://bugs.webkit.org/show_bug.cgi?id=5760 that describes something very

Re: File upload failing occasionally

2009-01-05 Thread Karen Tracey
On Mon, Jan 5, 2009 at 5:30 PM, ppdo wrote: > > I tried to monitor the interface using WireShark and the communication > just hangs during a data transfer: Apache is just acknowledging the > receipt of some packets and then just seems to hang. The suspicious > bit is a fairly

Re: File upload failing occasionally

2009-01-05 Thread Graham Dumpleton
On Jan 6, 9:30 am, ppdo wrote: > I tried to monitor the interface using WireShark and the communication > just hangs during a data transfer: Apache is just acknowledging the > receipt of some packets and then just seems to hang. The suspicious > bit is a fairly long series

Re: File upload failing occasionally

2009-01-05 Thread ppdo
I tried to monitor the interface using WireShark and the communication just hangs during a data transfer: Apache is just acknowledging the receipt of some packets and then just seems to hang. The suspicious bit is a fairly long series of http RST about 20ms before the server hangs. Though I'm not

Re: File upload failing occasionally

2009-01-05 Thread Graham Dumpleton
On Jan 5, 8:33 pm, ppdo wrote: > The failure does not depend on the file size: I manage to upload files > bigger than 60 MB and fail on 30 kB files. > > I tried with Safari and Firefox and I got the same results, though I > got the *impression* (but given the randomness of

Re: File upload failing occasionally

2009-01-05 Thread ppdo
The failure does not depend on the file size: I manage to upload files bigger than 60 MB and fail on 30 kB files. I tried with Safari and Firefox and I got the same results, though I got the *impression* (but given the randomness of the problem I am not sure this is a real observation) that it

Re: File upload failing occasionally

2009-01-05 Thread Graham Dumpleton
Sorry, some more questions. How big are the files you are trying to upload? What browser/client are you using to do the uploads? What do you have Timeout directive set to in Apache configuration? Graham On Jan 5, 6:24 pm, ppdo wrote: > Hi, > > Thanks for looking into

Re: File upload failing occasionally

2009-01-04 Thread ppdo
Hi, Thanks for looking into this. I used embedded mode and the error is the following (different message, but same place in multipartparser.py): IOError at /myapp/upload/2009-01-03/1 request data read error Request Method: POST Request URL:http://127.0.0.1/myapp/upload/2009-01-03/1

Re: File upload failing occasionally

2009-01-04 Thread Graham Dumpleton
On Jan 5, 10:24 am, ppdo wrote: > Hi all, > > I am trying to port my first Django 1.0.2 application to run on OSX/ > Leopard with Apache + mod_python 3.3.1 + python 2.6.1 (all running in > 64-bit mode) and I am experiencing an occasional error when uploading > a file that