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!

Explanations for all PHP-FPM options?

Discussion in 'EasyApache' started by Michael-Inet, Dec 30, 2018.

Tags:
  1. Michael-Inet

    Michael-Inet Well-Known Member

    Joined:
    Feb 20, 2014
    Messages:
    66
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Austin, TX, USA
    cPanel Access Level:
    Root Administrator
    I’ve read what I could find [1], but nothing seems to really explains what options actually exist for PHP-FPM, nor what the listed options actually do.

    For the basics, the GUI calls them ‘Pool Options’:

    Max Children
    Process Idle Timeout
    Max Requests

    So . . .

    What do they do?
    How are they used?
    How are they interrelated?
    How much memory do they consume individually?
    How much memory do they consume per combination?

    What are the names of all the other options?
    What do they do?
    How are they used?
    . . .

    # # #

    Apache has these*, do they correlate?

    Start Servers
    Minimum Spare Servers
    Maximum Spare Servers
    Max Connections Per Child
    Server Limit
    Keep-Alive Timeout
    Timeout

    They should per [2], but again, where is the doc that explains it?

    * Yeah, I’m sure I missed some...

    # # #

    Okay, where’s the real docs that explain all that so we can make some sort of intelligent choices regarding PHP-FPM?

    Edit start:
    Found Tutorial - PHP-FPM Performance Tuning Basics

    Which tries, but has some serious problems. . . Which I’ll add the the Q’s of to its Discussion section. It also needs to be linked to from both docs in [1].
    Edit end:

    So we’re still needing something with enough meat to understand this...

    Best,
    Michael

    [1]
    MultiPHP Manager for WHM - Version 76 Documentation - cPanel Documentation
    PHP-FPM - Version 76 Documentation - cPanel Documentation

    [2]
    Apache vs PHP-FPM Bottleneck with Child Processes - Version 76 Documentation - cPanel Documentation
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,531
    Likes Received:
    2,181
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Michael-Inet,

    The document you may find most helpful is securephp.net's FastCGI Process Manager (FPM) documentation located at the link below:

    PHP: Configuration - Manual

    Can you let me know if this document is more reflective of the information you are seeking?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Michael-Inet

    Michael-Inet Well-Known Member

    Joined:
    Feb 20, 2014
    Messages:
    66
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Austin, TX, USA
    cPanel Access Level:
    Root Administrator
    @cPanelMichael,

    *sigh* I swear the holidays must have induced brain stupor. I can’t even blame it on bad search fu, as I’m the one that only searched with ‘cPanel’ as one of the a parameters...

    Would/Could you get that doc linked to from all 3 of the cPanel docs?

    Thanks,
    Michael

    PS: FYI to others: The Pool Option defaults (5, 10, 20) are way off. See thread Tutorial - PHP-FPM Performance Tuning Basics for additional info.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #3 Michael-Inet, Jan 8, 2019
    Last edited: Jan 8, 2019
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,531
    Likes Received:
    2,181
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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