I need to change "max_children setting" but php-hpm.conf file can't be found on server?
Hi, I get a lot of these errors for a lot of domains.
[pool domain_com] server reached max_children setting (5), consider raising it
So I need to change "max_children setting" but php-hpm.conf file can't be found on server?
My system:
OS
AlmaLinux v8.9.0 STANDARD hyper-v
cPanel Version
110.0.17
Where can I find this file?
-
Hi!
You can change the max_children setting from the MultiPHP Manager in WHM
0 -
Thank you.
I have changed the global value but I see the message:
System PHP-FPM setting applies to only new account creations.
Will my new setting work on the domains that are already on the WHM?0 -
HeyHost - can you let me know specifically where you're seeing that message? When I go to WHM >> MutliPHP Manager, and click the "Manage Settings" button next to the PHP-FPM option, I don't see that "only new account" warning when I save the change. The only reference I can find for that text is when you disable PHP-FPM, as mentioned here:
so it would be good to have some context as to where you're seeing that.
0 -
I'm going to raise this 1 year old post back up again because I'm having problems with PHP-FPM on one server. The server has many websites and only intermittently fails, maybe twice a month. The symptoms are sites simply stop serving. The obvious place to check is:
service httpd status
..but there the interesting thing is Apache is running. Simply restarting `httpd` makes the server work again.
So lots of time and research had led me to believe it's PHP-FPM that bombs out. After a while I found this log file:
[root@server ~]# cat /opt/cpanel/ea-php83/root/var/log/php-fpm/error.log | grep "reached" | more
[01-Jun-2025 00:05:21] WARNING: [pool site1_com] server reached max_children setting (5), consider raising it
[01-Jun-2025 00:05:37] WARNING: [pool site2_com] server reached max_children setting (5), consider raising it
[01-Jun-2025 00:06:12] WARNING: [pool site3_com] server reached max_children setting (5), consider raising itOut of all the busy sites on the server, I know for a fact the sites mentioned are really busy.
So what next? Well, let's look at the children in MultiPHP Manager:
There it is. I'll raise it from 5 to 6 and see how things go. But still, I can't believe a PHP-FPM service would cause an Apache to completely stop serving sites without any others output from a PHP-FPM that's broken.
0 -
I also wouldn't expect an FPM issue to break all the sites on the machine. What shows up in the main Apahe log (/etc/apache2/logs/error_log) when the issue starts? It would also be good to check the output of "apachectl status" as that should show what Apache is doing in real time.
0
Please sign in to leave a comment.
Comments
5 comments