Timeout received during file upload/downloads using Plesk 11
During extended uploads or download you are getting an Internal Server Error, the error_log looks like this:
[Mon Mar 04 08:12:58 2013] [error] [client 19.149.54.29] Premature end of script headers: index.php, referer: http://www.site.co.uk
If you are running PHP as FastCGI you may want to look at the parameters in this file:
# vi /etc/httpd/conf.d/fcgid.conf
FcgidIdleTimeout 30
FcgidProcessLifeTime 30
FcgidMaxProcesses 20
FcgidMaxProcessesPerClass 8
FcgidMinProcessesPerClass 0
FcgidConnectTimeout 30
# FcgidIOTimeout 45
FcgidIOTimeout 240
Usually a tweak of the FcgidIOTimeout resolved the problem.
Don’t forget to restart Apache afterwards.