Michael-Inet

Well-Known Member
Feb 20, 2014
134
20
68
Nashville, TN, 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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
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.
 

Michael-Inet

Well-Known Member
Feb 20, 2014
134
20
68
Nashville, TN, 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.
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463