Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs
nginx-forum at nginx.us
Tue Dec 8 11:17:26 MSK 2009
Apologies if this is too off topic. My problem is not directly related to nginx.
We've been running nginx + spawn-fcgi for 6 months without any issues. Until one morning I come in and all our sites are down because there were no php-cgi processes running. Obviously I'm keen to not have this happen again. I could make use of something like monit to monitor the php-cgi processes, but even a few minutes down time (waiting for a monit cycle) is not good.
The only article on this I've been able to find so far is this one: http://blog.taragana.com/index.php/archive/how-to-stop-crashing-hanging-of-php-cgi-spawn-fcgi-with-nginx-lighttpd/
As this is a popular combo with nginx, I was wondering if anyone here had any advice, or even just some more articles for me to RTFM?
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,28783,28783#msg-28783
More information about the nginx