I am receiving this error message when I run an intensive job in Wordpress:
[pool www] server reached pm.max_children setting (5), consider raising it
Using Php-fpm 7 + Nginx on 2GB RAM Server.
When I run:
ps aux | grep fpm
root 1508 0.0 1.5 367260 31380 ? Ss Nov05 0:11 php-fpm: master process (/etc/php/7.0/fpm/php-fpm.conf)
www-data 10231 0.0 2.7 453420 55540 ? S 15:10 0:03 php-fpm: pool www
www-data 13266 0.0 2.4 449892 50900 ? S 22:13 0:00 php-fpm: pool www
www-data 13572 0.0 1.8 372468 37740 ? S 23:14 0:00 php-fpm: pool www
user+ 13721 0.0 0.0 14512 980 pts/0 R+ 23:30 0:00 grep --color=auto fpm
Tried to follow this tutorial to determine correct settings that I need. http://bit.ly/2edUbir
I can't run this command because it's not supported by Php-fpm 7 apparently.
ps -ylC php-fpm --sort:rss
ps
is a Linux system command, not PHP. Search for thepm.max_children
setting in your PHP configuration files and increase it. 5 is really low for any website. Something like 50 or more is better.