One of the sites on our server requires a long page execution time (up to 5 mins), I’ve increased the php execution time’s to 300 seconds, and phpinfo() verifies that it has been changed. However I still get this error in the error log:
[Sun Feb 28 20:38:34 2010] [warn] mod_fcgid: read data timeout in 60 seconds
[Sun Feb 28 20:38:34 2010] [error] [client x.x.x.x] Premature end of script headers: analysis.php, referer: http://xxxxxxxxxxx.net/analysis.php
It sounds like you’re running into mod_fcgid timeout issues… you may want to take a peek at this thread for examples of how to tweak the settings related to that:
Alternatively, if you moved from fcgid to standard CGI, that would be another way around the problem.
this f*#$%g mod_fcgid thing is driving me crazy, no solutions whatsoever, i played around with global configs, virtualhost configs, nothing at all… it keeps steady at timing out after 31 seconds.
i guess i will have to switch my whmcs to mod_php instead, which has less benefits but at least runs reliably