mod_fcgid Errors

I still get 500 errors once or twice a day.

From the web browser:

Internal Server Error

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

Please contact the server administrator, root@localhost 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.


php5.fcgi looks like:

ulimit -t 60
ulimit -u 100
export PHPRC
umask 022


/var/log/httpd/error_log reports:

php5.fcgi: line 10: 22791 Killed /usr/bin/php-cgi
[Tue Mar 24 21:32:36 2009] [notice] mod_fcgid: process /home/virtualserver/public_html/phpmyadmin/index.php(22790) exit(communication error), terminated by calling exit(), return code: 137


Virtual server apache log shows:

[Tue Mar 24 21:32:34 2009] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
[Tue Mar 24 21:32:34 2009] [error] [client] Premature end of script headers: cart.php


These happen randomly, works hundreds of times, could be on one product, could be in another, doesn't seem to matter, as long as it is PHP code.

I think the key line was that /usr/bin/php-cgi was killed, the question is why is this happening?

Closed (fixed)