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!

PHP-FPM and httpd.conf settings question

Discussion in 'Workarounds and Optimization' started by Seb45874, Jun 5, 2018.

Tags:
  1. Seb45874

    Seb45874 Registered

    Joined:
    Apr 21, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    france
    cPanel Access Level:
    Root Administrator
    Hi Cpanelers,

    I've heard that there is a special arithmetic to respect when configuring a couple of things on httpd.conf and PHP FPM.
    I've heard that there must be a ration of an integer between Max request workers in httpdconf and the max children of the PHP-FPM pool option in the multiphp manager of cpanel. True ?

    Further more, admiting I put max request workers to 256 in httpd.conf and I have 10 websites on the server. 2 big and 8 average

    Is there a good repartition of maxchildren, process idle time and max requests in php FPM for each ?

    thanks.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Seb45874,

    I've moved this thread to our Optimization forum category.

    The following third-party URL offers some information you may find helpful on this topic, but note the configuration paths are likely to be different since it's on a different environment:

    Apache2 and php fpm performance optimization — Step-by-step guide

    We also provide a list of companies offering system administration services should you not receive sufficient user-feedback to this thread:

    System Administration Services | cPanel Forums

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice