System PHP-FPM Configuration isn't applied to all domains
Hi,
I'm trying to change the Max Children setting for all domains, so I go in MultiPHP Manager, System PHP-FPM Configuration, and I increase the Max Children setting here. Then I click on Save Configuration, and when I check individual domains, I see that some have the new setting, while some still have the default Max Children setting of 5. Am I doing something wrong? Is there an adittional step that needs to be performed?
Thanks
-
Once a domain has it's own settings in it's .yaml file, the default settings no longer apply. That just applies domains without settings and new domains. You can likely more quickly review the settings for each here: /var/cpanel/userdata//.php-fpm.yaml If you remove the pm_max_children line from these files and rebuild php-fpm they will inherit the default again or you can change the number and rebuild if you don't do the same per domain in WHM. Rebuilding after changes to these files is: /scripts/php_fpm_config --rebuild 0 -
Removing the line from the yaml files and rebuilding php-fpm works. I wrote a bash script to quickly do it for all domains, and now they all have the same max_children value. Thank you. 0 -
Thanks @kdean for providing that advice. @GoranG please let us know if you have any further issues or concerns 0
Please sign in to leave a comment.
Comments
3 comments