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.

  1. Seb45874

    Seb45874 Registered

    Apr 21, 2018
    Likes Received:
    Trophy Points:
    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 ?

  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    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...

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