Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How change default pool directives

Discussion in 'EasyApache' started by gersonfs, Oct 7, 2017.

  1. gersonfs

    gersonfs Active Member

    Joined:
    Sep 30, 2007
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    56
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,745
    Likes Received:
    312
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    That docs page describes how to add or remove lines to a configuration. What issue are you facing using the details there?
     
  3. gersonfs

    gersonfs Active Member

    Joined:
    Sep 30, 2007
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    56
    pm.max_children 5 is a very high value for servers with many domains. I currently use EA3 with fastcgi, I want to use the equivalent settings for EA 4 + FPM. And one of them is limiting the number of PHP processes in 3 per pool.
    So I would like to change the default value pm.max_children from 5 to 3 for all the new ones that will be created.
    In the documentation speak only on change for already existing accounts via file /var/cpanel/userdata/user/domain.php_fpm.yaml
    On new account creation, i need thad file /var/cpanel/userdata/user/domain.php_fpm.yaml should be created with pm_max_children: 3
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page