WARNING: server [pool www] reached pm.max_children (5) setting, consider upgrading it

I get this error:

WARNING: [pool www] server reached pm.max_children (5) setting, consider upgrading it

While trying to access my XenForo installation on forums.domain.com in my PHP error log.

This happens every time, and I think this leads to a failure of PHP, which prevents another site from working in the same field.

I use nginx with two server blocks for these two sites. One under the new. and one under the forums.

Thanks.

+4
source share
2 answers

pm.* / PHP - http://www.php.net/manual/en/install.fpm.configuration.php

pm.max_children int

The number of child processes to be created when pm is set to static and the maximum number of child processes to be created when pm is set to dynamic. This option is mandatory.

This option sets the limit on the number of simultaneous requests that will be served. Equivalent to the ApacheMaxClients directive with mpm_prefork and to the PHP_FCGI_CHILDREN environment variable in the original PHP FastCGI.
-4

Ubuntu 12 (, , ) pm.max_children /etc/php5/fpm/pool.d/www.conf. . PHP, :

 sudo service php5-fpm restart

Apache, .

0

Source: https://habr.com/ru/post/1525870/


All Articles