PHP-FPM and httpd.conf settings question

Seb45874

Registered
Apr 21, 2018
4
0
1
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.
 

cPanelMichael

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