Skip to main content
We are aware of an issue after updating to cPanel versions 11.110.0.65, 11.126.0.21, or 11.128.0.11, some cPanel plugins or features are no longer functioning properly including WP Toolkit. Please see the following article for more information and updates:
Update to latest cPanel 110, 126, or 128 versions removes "addonfeatures" directory.

I need to change "max_children setting" but php-hpm.conf file can't be found on server?

Comments

5 comments

  • cPAdminsMichael

    Hi!

    You can change the max_children setting from the MultiPHP Manager in WHM

    0
  • HeyHost

    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
  • cPRex Jurassic Moderator

    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:

    https://support.cpanel.net/hc/en-us/articles/360056146193-How-to-switch-from-PHP-FPM-to-the-LSAPI-handler

    so it would be good to have some context as to where you're seeing that.

    0
  • vander.host

    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 it

    Out 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
  • cPRex Jurassic Moderator

    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.