Recommendation for PHP-FPM pm.max_children, PHP-FPM pm.start_servers and others
- by jaypabs
I have the following server:
Intel® Xeon® E3-1270 v2 Single Processor - Quad Core Dedicated Server
CPU Speed: 4 x 3.5 Ghz w/ 8MB Smart Cache
Motherboard: SuperMicro X9SCM-F
Total Cores: 4 Cores + 8 Threads
RAM: 32 GB DDR3 1333 ECC
Hard Drive: 120GB
Smart Cache: 8MB
I am using ubuntu 12.04 - nginx, php, mysql with ISPConfig 3.
Under ISPConfig 3 website settings:
I have this default value:
PHP-FPM pm.max_children = 10
PHP-FPM pm.start_servers = 2
PHP-FPM pm.min_spare_servers = 1
PHP-FPM pm.max_spare_servers = 5
PHP-FPM pm.max_requests = 0
My question is what is the recommended settings for the above variable? Because I found some using a different settings.