- Plesk Onyx 17.5 for Linux
Note: This article has the reference to the issue with the fix available:
- #PPPM-7647 "The pm PHP-FMP directive of a domain created under a default service plan took the static value instead of default ondemand, resulting in high memory usage by Apache or PHP-FMP process."
- Plesk Onyx 17.5.3 Update 34 12 December 2017 (Linux)
After the installation of micro-update 32 on Plesk Onyx 17.5, server memory usage on the server has significantly increased.
Restart of the PHP-FPM services with the commands below temporary frees memory:
# service php-fpm restart
# service plesk-phpX.X-fpm restartwhere X.X - a PHP version, e.g plesk-php7.1-fpm
Unable to rename a domain in Plesk. The following error message is shown:
PLESK_ERROR: Unable to rename home of sysuser with id=81: Unable to execute usermng: usermng: pam_unix(passwd:xxxx): password changed for limelight usermod: user john.doe is currently used by process 9423
- There are domains that use PHP-FPM and have set
# grep -r "pm = static" /opt/plesk/php/7.1/etc/php-fpm.d/*
/opt/plesk/php/7.1/etc/php-fpm.d/example.com.conf:pm = static
This is a Plesk bug with ID PPPM-7647 , which has been fixed in Plesk Onyx 17.5 Update 34 .
Since micro-update 32 on Plesk Onyx 17.5, default PHP-FPM settings have been changed.
Install the latest Plesk micro-updates.
Note: Installation of microupdates will not resolve the issue for domains which pm value was changed manually. For these domains, pm value should be changed to 'ondemand' manually as described further.
To apply the setting for all domains and service plans, use the script. To launch it, run the following commands consequently:
# wget https://plesk.zendesk.com/hc/article_attachments/115005329194/ondemand.tar.gz
# tar xvf ondemand.tar.gz
To apply the setting for service plans via GUI:
In Plesk go to Service Plans > Plan Name > PHP Settings .
Scroll down to PHP-FPM settings and change the pm value to ondemand :
As a workaround change PHP-FPM settings for all required service plans:
Click OK to apply the changes.
Note: Synchronization may take a significant amount of time if there are a lot of subscriptions assigned to a service plan.
- Repeat these steps for all required service plans.