Discussion:
[BlueOnyx:22510] issues changing max_children setting
Richard Owen
2018-11-19 16:54:42 UTC
Permalink
On our 5209r server we have been getting random 502 errors, and then in the PHP-fpm log, we get
"pool site26] server reached max_children setting (15), consider raising it".
I have set the MAX_children in the GUI to 35 , and It shows the new setting of 35.

When i check /etc/php-fpm.d/www.conf, max_children is still set to 15, and checking www.conf in php-fpm-5.6 and 7.2 both are set to 15.
I have restarted php-fpm, and that changes nothing, I manually changed the setting in php-fpm-7.2 and under one of the sites.

When php-fpm/php-fpm-7.2 is restarted, it resets MAX-children back to 15 in the config files, the max_children limit of 15 errors continue

Can you please let me know how we can set this to 35

Thanks Richard
Richard Owen
2018-11-20 09:18:35 UTC
Permalink
Hi Michael

Thank you for the quick resolution, Much apricated

Kind regards
Richard



Hi Richard,
5209R PHP-FPM Max Children Setting
I just checked it and there was indeed a bug.

When you went to "Server Management" / "Security" / "PHP Settings" and edited the "Max Children (FPM)" setting at the very bottom of the page, then it would indeed edit all PHP-FPM pool files. For all Vsites that use PHP-FPM - regardless of the PHP version.

However, it would always put the default value of "15" into the pool files. Regardless of what you had configured in the GUI.

I just published an updated base-apache and base-vsite to the 5209R YUM repositories which fixes this problem.

Please do a "yum clean all" followed by a "yum update" and you should get the updates.

--
With best regards

Michael Stauber

Loading...