Change default values in /var/cpanel/php-fpm.d/username.conf
Hello,
What is the correct way to update the values defined in /var/cpanel/php-fpm.d/username.conf?
We have some accounts with heavy webmail activity.
pm.max_children=25 is too low for them.
Thanks
-
Hello, You can find examples of how to make that change on the following threads: MultiPHP INI Editor Values Not Saved for PHP-FPM Sites SOLVED - php-fpm config Thank you. 0 -
Hi Michael, The examples provided are for user websites: apache_php_fpm Our issue is with the cpanel user services (cpanel, webmail etc..) which are being managed by the PHP-FPM service for cPanel Daemons (cpanel_php_fpm service) All values are stored in /var/cpanel/php-fpm.d/username.conf, however when I change pm.max_children there - it reverts back to default value (pm.max_children = 25). Disabling PHP-FPM service for cPanel Daemons in the Service Managers solves the issue - but we would like to use FPM there as well. Hope this clarifies it. Thank you. 0 -
Hello, I apologize for the misunderstanding. You can modify the individual configuration files within /var/cpanel/php-fpm.d/ as you mentioned, but it's not possible to configure a global default value for those files. There's a feature request open for this that you can vote for at: Configure a global default value for php-fpm max_children for all accounts Thank you. 0
Please sign in to leave a comment.
Comments
3 comments