• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Plesk set very bad values in FPM

Azurel

Silver Pleskian
Hi,

I get thousend of error-lines in /var/log/plesk-php56-fpm/error.log with

WARNING: [pool domain.tld] server reached max_children setting (5), consider raising it

in folder /opt/plesk/php/5.6/etc/php-fpm.d I have take a look in the conf of each vhost and found:

pm.max_children = 5
pm.process_idle_timeout = 10s
pm.start_servers = 1
pm.min_spare_servers = 1
pm.max_spare_servers = 1

Why this very low values?

In /etc/php-fpm.d/www.conf.saved_by_psa is set

pm.max_children = 50
pm.start_servers = 5
pm.min_spare_servers = 5
pm.max_spare_servers = 35

Where/How do i set my own values and how can i apply that for all vhost? The server have 32GB RAM and a good CPU.
 
Thanks for your help. That means I must update this step for step for every domain and all subdomains manually?

What happen when I create a new domain or subdomain, must I add this every time? This is not useful. Why have pm.max_children this wrong values? How I can set a default value?

Is this KB really correct? a second php.ini in conf and not add in /var/www/vhosts/system/example.com/etc/php.ini


EDIT:

For all with this bug here a another KB https://kb.plesk.com/en/128965
 
Last edited:
I am still interest in a good solution, so I not must change all subscriptions+domains. This default values are very bad settings:

pm.max_children = 5
pm.process_idle_timeout = 10s
pm.start_servers = 1
pm.min_spare_servers = 1
pm.max_spare_servers = 1
 
Back
Top