Welcome! Log In Create A New Profile

Advanced

Re: nginx recycles workers too often

March 29, 2010 10:17PM
I believe you should tweak PHP_FCGI_MAX_REQUESTS. You can try 5000 for instance. In order to get this working you need to kill all (stop nginx, pcp_cgi and killall nginx, the same with php_cgi or whatever you called the init.d script) the processes running and start php_cgi and nginx again. I'm saying this because I just read your other thread where it does nothing PHP_FCGI_MAX_REQUESTS on your server.

I also run a wp blog and vb forum on my site. I'm getting over 170k uniques per day. I run mysqld on a separate server. I have 8 workers. 15 children. I'm currently tweaking PHP_FCGI_MAX_REQUESTS.1000 seems to be too low for me since php-cgi processes get restarted too often.
Subject Author Posted

nginx recycles workers too often

mindfrost82 March 01, 2010 12:13PM

Re: nginx recycles workers too often

Piotr Sikora March 01, 2010 10:06PM

Re: nginx recycles workers too often

mindfrost82 March 01, 2010 11:08PM

Re: nginx recycles workers too often

Piotr Sikora March 02, 2010 01:06AM

Re: nginx recycles workers too often

mindfrost82 March 02, 2010 11:14AM

Re: nginx recycles workers too often

Srebrenko Šehić March 02, 2010 04:50PM

Re: nginx recycles workers too often

wminside March 29, 2010 10:17PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 317
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready