• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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