• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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