• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

php-fpm pm.max_children

EvolutionCrazy

Basic Pleskian
Hi,

is there away to set the max_children value from the webinterface (like from additional directives) or even better to set a value higher then the dafault 5 for everybody?

At the moment we have create the
/var/www/vhosts/system/domain.tld/conf/php.ini
file

paste this content
Code:
[php-fpm-pool-settings]
pm.max_children = 15

and then issue
Code:
/usr/local/psa/bin/php_settings -u

but this last commnd is *very slow*, process each single file and also reload php-fpm as many time as the number of domains present causing many troubles in between for the running sites... and at the end of the operation most of the times it even leaves php-pfm died / in incosistent state... so we must run a php-fpm restart

Ho can we change just one domain and then issue a php-fpm reload / restart without making use of php_settings -u?
 
Hello Crazy,
The default settings (I think) come from
Code:
/usr/local/psa/lib/modules/python/phpinimng/phpinimng.py

Since Plesk doesn't have a Web-based interface to manage that default, perhaps you will need to open a feature request.
 
Actually the feature request would be: "please fix the bug that makes the whole die when running /usr/local/psa/bin/php_settings -u" ... or at least provide a decent alternative that doesn't reload hundreds of time php-fpm...
 
Actually the feature request would be: "please fix the bug that makes the whole die when running /usr/local/psa/bin/php_settings -u" ... or at least provide a decent alternative that doesn't reload hundreds of time php-fpm...
I see ...
 
Back
Top