| From | Sent On | Attachments |
|---|---|---|
| Niro | Jan 12, 2010 10:05 am | |
| merlin corey | Jan 12, 2010 4:45 pm | |
| war59312 | Feb 11, 2010 8:12 pm | |
| Daniel Hahler | Feb 12, 2010 5:20 am | |
| Reinis Rozitis | Feb 12, 2010 6:07 am | |
| Piotr Karbowski | Feb 12, 2010 6:13 am | |
| shaktale | Feb 12, 2010 10:29 am | |
| Usu | Apr 3, 2010 7:23 pm | |
| Payam Chychi | Apr 3, 2010 7:36 pm | |
| jjjx128 | Apr 3, 2010 8:08 pm | |
| Usu | Apr 4, 2010 12:55 am | |
| unclepieman | Apr 4, 2010 11:37 am | |
| Usu | Apr 4, 2010 11:59 am | |
| unclepieman | Apr 4, 2010 12:19 pm | |
| Usu | Apr 4, 2010 12:21 pm | |
| Don Burris | Jun 20, 2010 2:28 pm | |
| franky gman | Aug 11, 2011 10:05 am | |
| Volodymyr Kostyrko | Aug 11, 2011 10:25 am | |
| Reinis Rozitis | Aug 12, 2011 4:31 am |
| Subject: | Re: Nginx + PHP FASTCGI FAILS - how to debug ? | |
|---|---|---|
| From: | Usu (ngin...@nginx.us) | |
| Date: | Apr 4, 2010 12:55:25 am | |
| List: | ru.sysoev.nginx | |
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; worker_processes 12; error_log logs/error.log; pid /dev/shm/nginx.pid; worker_rlimit_nofile 10000;
events { worker_connections 1024; use epoll; }
http { include mime.types; #include /etc/nginx/proxy.conf; include /usr/local/nginx/conf/fastcgi_params;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"';
access_log logs/access.log main;
sendfile on;
tcp_nopush on;
server_names_hash_bucket_size 128; # this seems to be required for some
vhosts
client_max_body_size 12m;
large_client_header_buffers 8 32k;
# output compression saves bandwidth
gzip on;
gzip_proxied any;
gzip_http_version 1.1;
#gzip_min_length 1100;
gzip_comp_level 2;
#gzip_buffers 4 8k;
gzip_types text/plain text/css application/x-javascript text/xml
application/xml application/xml+rss text/javascript application/atom+xml;
#gzip_vary on;
#gzip_disable "MSIE [1-6]\.";
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,40332,71034#msg-71034
_______________________________________________ nginx mailing list ngi...@nginx.org http://nginx.org/mailman/listinfo/nginx





