I'm getting this error:
WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
When trying to access my XenForo installation at forums.domain.com in my PHP error log.
It happens every time, and I think it's causes PHP to crash, which prevents the other site on the same box from working as well.
I'm using nginx with two server blocks for these two sites. One's under new. and one's under forums..
Thanks.
pm.max_children = Total RAM dedicated to the web server / Max child process size. For example, if the server has 8GB of RAM and 6GB of RAM is planned to be allocated to the web server, then the pm.max_children value will be the following: pm.max_children = 6144MB / 85MB = 72.
On Ubuntu 12 (and probably elsewhere), the pm.max_children
value is set in the configuration file /etc/php5/fpm/pool.d/www.conf
. Search the file for that string and increase the value. Restart PHP for the change to take effect with this command:
sudo service php5-fpm restart
If you are using Apache, you may need to restart that service first.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With