[drupal-support] Problem uploading large files

Aaron S. Pava aaron at civicactions.com
Sun Jun 26 19:16:58 UTC 2005


When trying to upload files through the upload module, I am getting an error
(500 Internal Server Error) after about 3 minutes:
 
500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable
to complete your request.

Please contact the server administrator, <webadmin at civicactions.net> and
inform them of the time the error occurred, and anything you might have done
that may have caused the error.

More information about this error may be available in the server error log.

I've increased the PHP timeout to 1 hour and disabled the suEXEC timeout
completely. Also increased Apache connection timeout as well to 1 hour.
Still having the problem.
 
I've managed to reproduce a problem:
 
- 195.42.161.6:38460 -> 64.71.151.174:80: ESTABLISHED
- 195.42.161.6:38460 -- 64.71.151.174:80: RESET (425.31 seconds)
- 195.42.161.6:38461 -> 64.71.151.174:80: ESTABLISHED
 
The connection got reset after 425 seconds (not sure why that number), then
re-established (with no messages from the browser - it is only seen with a
sniffer), but the data transfer was restarted from the beginning (not
continued from the point where it was interrupted).  

error_log has only the most generic error message, unfortunately:
 
[Sat Jun 25 12:41:56 2005] [error] [client 64.165.210.102] Premature end of
script headers: /home/clients/websites/w_ions/public_html/dev/index.php
 
I've tried replaying the sniffer dump into Apache and got this:
 
HTTP/1.1 200 OK
[...]
... grey_a__art_as_a_spiritual_practice__02.mp3</a></td><td>2.46 MB ...
[...]
 
So if my web browser would have simply closed the connection, there would be
a partial upload, -- not the error message I'ver received.
 
This confirms that the problem is timing-related.  But we've already bumped
up all the timeout values on the server that I knew of and 10+ minutes
uploads have worked for others for testing.
 
Any ideas?

Aaron
 
- - - - - - - - - - - 
Aaron S. Pava
CivicActions LLC
c 415-254-9874
 <mailto:aaron at civicactions.com> aaron at civicactions.com
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://drupal3.drupal.org/pipermail/support/attachments/20050626/9e656142/attachment.htm


More information about the drupal-support mailing list