• 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.

Question PHP-FPM Settings

I would suggest you use the method from the mentioned kB article.
 
Thanks for the reply.
In the KB is mentioned:
Currently there is no way to manage these settings through Plesk UI. This functionality is expected to be implemented in next Plesk major release - Plesk Onyx.

Is it implemented yet or not?
 
In the config file I see this:
Code:
; By default use ondemand spawning (this requires php-fpm >= 5.3.9)
pm = ondemand
pm.max_children = 5
pm.process_idle_timeout = 10s

but at the end of the file there is this:
Code:
; Following directives override default pool configuration
pm.max_requests = 200
pm.process_idle_timeout = 10s
pm.max_children = 256
pm = ondemand

Does the override works? Because after running php-fpmpal I get this:
Code:
===== Recommendations per pool =====
    --- domain.tld ---
        Current usage: 100.00%    Recommended max_children: 262 (current: 5
256)    Config file: /opt/plesk/php/7.0/etc/php-fpm.d/domain.tld.conf
 
From /opt/plesk/php/7.0/etc/php-fpm.d/domain.tld.conf:
"To override pool configuration options, specify them in [php-fpm-pool-settings] section of /var/www/vhosts/system/domain.tld.conf/conf/php.ini file."

Has that been done?
 
Yes
Code:
[php-fpm-pool-settings]
pm = ondemand
pm.max_children = 256
pm.process_idle_timeout = 10s
pm.max_requests = 200
 
I am not perfectly sure if a restart of the FPM-Service is needed, but it cannot do damage, so please try
# service plesk-php70-fpm restart
to make sure that the updated settings are applied.
 
Back
Top