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.

pool options for best performance

Discussion in 'Workarounds and Optimization' started by digitaliway, Nov 21, 2016.

Tags:
  1. digitaliway

    digitaliway Member

    Joined:
    Feb 17, 2015
    Messages:
    14
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    I am running php-fpm and memcached on the server with all sites having pool options set to: 5 max children, 10 Process idle and 20 max requests. this was the default when I enabled php-fpm.

    I would like to know what the best settings are for a high traffic site as I am starting to see some major slow down for various sites since getting php-fpm running.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,204
    Likes Received:
    1,297
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. Anoop P Alias

    Anoop P Alias Well-Known Member

    Joined:
    Mar 31, 2015
    Messages:
    65
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Kochi,Kerala,India
    cPanel Access Level:
    Root Administrator
    php-fpm settings are almost similar to Apache Pre-fork ones.

    The most children spawned and in standby would be apt for a high traffic site as there is a ramp up time for new process in case the above settings are too low.

    Also you must consider installing an OpCode cache and script level caches to speed up website as PHP is not the fastest language out there
     
Loading...

Share This Page