PHP-FPM configuration for shared hosting
Hello,
I have server with 50GB of ram and 10 CPUs.
My configuration of PHP-FPM is:
pm : ondemand
pm_max_children : { name: 'pm.max_children', value: 15 }
pm_max_requests : { name: 'pm.max_requests', value: 500 }
pm_max_spare_servers : { name: 'pm.max_spare_servers', value: 10 }
pm_min_spare_servers : { name: 'pm.min_spare_servers', value: 1 }
pm_process_idle_timeout : { name: 'pm.process_idle_timeout', value: 30 }
Is this configuration Optimal? Can i get better performance with editting or adding somethink here?
Requests are per children or total?
-
@filip212 The configuration as it is I find it excellent. I would recommend opting to optimize your php.ini and see what other options you should activate through Easyapache to get better performance. The use of memcached is a good option if the websites you host are based on Wordpress and Joomla for example. 0 -
Hello, You can also find a list of system administration services on the following URL if you don't receive sufficient use-feedback: System Administration Services | cPanel Forums Thank you. 0
Please sign in to leave a comment.
Comments
2 comments