Nginx + PHP FASTCGI FAILS - how to debug ?
nginx-forum at nginx.us
Sun Apr 4 11:55:48 MSD 2010
Hi, thanks for the replys.
ulimit output: unilimited
To run dstat I will have to wait until php becomes unresponsive, it could be hours or days, I can't reproduce it since it's not releated to the load on the server, I tried stressing it with Apache Benchmark but even with all the cpus at 100% the site was still working fine (only slow), I use munin and every time it happens I don't see any weird behavior apart form the mysql threads that have a spike.
PHP_FCGI_MAX_REQUESTS = 500
I'm using dynamic child with php-fpm (but I've already tried many setting here even without php-fpm)
Here's the first part of the nginx configuration, let me know if you need the whole thing
user www-data www-data;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
access_log logs/access.log main;
server_names_hash_bucket_size 128; # this seems to be required for some vhosts
large_client_header_buffers 8 32k;
# output compression saves bandwidth
#gzip_buffers 4 8k;
#gzip_disable "MSIE [1-6]\.";
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,40332,71034#msg-71034
More information about the nginx