Hi, lately I've been running into a lot of problems with FastCGI. I'm getting a lot of errors in my log files similar to the following:
[Fri Jan 21 07:57:15 2011] [error] [client 72.92.131.x] FastCGI: incomplete headers (0 bytes) received from server "/home/xxx/xxxx.com/cgi-bin/dispatch.fcgi", referer: http://www.xxxx.com
[Fri Jan 21 07:57:15 2011] [error] [client 66.249.68.x] FastCGI: comm with (dynamic) server "/home/xxx/xxxx.com/cgi-bin/dispatch.fcgi" aborted: (first read) idle timeout (60 sec)
After, say, 100 or so of these errors, my site eventually becomes unavailable. After that, no PHP scripts are able to run.
My config is:
AddHandler fastcgi-script fcg fcgi fpl
AddHandler php-fastcgi .php
Action php-fastcgi /cgi-bin/dispatch.fcgi
exec /dh/cgi-system/php5.cgi $*
PHP Version 5.2.15
Server API CGI/FastCGI
Loaded Configuration File /home/xxx/xxxx.com/cgi-bin/php.ini
I'm just wondering if anybody can spot anything obvious that looks wrong. My site uses a (correctly loaded) custom php.ini, PHP5 and is configured for FastCGI (so says phpinfo).