pool options for best performance
I am running php-fpm and memcached on the server with all sites having pool options set to: 5 max children, 10 Process idle and 20 max requests. this was the default when I enabled php-fpm.
I would like to know what the best settings are for a high traffic site as I am starting to see some major slow down for various sites since getting php-fpm running.
-
Hello, The following third-party URL offers some general tips you may find helpful: PHP-FPM Process Management Thank you. 0 -
php-fpm settings are almost similar to Apache Pre-fork ones. The most children spawned and in standby would be apt for a high traffic site as there is a ramp up time for new process in case the above settings are too low. Also you must consider installing an OpCode cache and script level caches to speed up website as PHP is not the fastest language out there 0 -
Hello, The following third-party URL offers some general tips you may find helpful: PHP-FPM Process Management Thank you.
1. I need to edit SFTP or WHM Apache Configuration? 2. But I checked that site was not centos, It is Ubuntu. If the same file. will work?0 -
Hello, That URL is not intended to be followed step-by-step on a cPanel server. It's only to provide a general overview of how you could change your pool options. If you wanted to actually change the values, you'd need to follow the instructions at: Configurations Values of PHP-FPM - Documentation - cPanel Documentation Thank you. 0 -
. I need to edit SFTP or WHM Apache Configuration? 2. But I checked that site was not centos, It is Ubuntu. If the same file. will work?
Hello, i have the same problem. Did you find a solution ?0 -
Hello @thanasis, The following document describes how to change the default PHP-FPM configuration options: Configurations Values of PHP-FPM - Documentation - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
6 comments