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

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

/usr/local/psa/bin/php_settings -u reloads PHP-FPM for every subscription

Visnet

Basic Pleskian
The command /usr/local/psa/bin/php_settings -u can be used to update PHP Settings for all subscriptions.

However, this command seems to reload PHP-FPM for every subscription, which will cause downtime on servers with a larger number of subscriptions.

Can this command be modified so that PHP-FPM will reload only once at the end of the command?
 
I have checked this issue on Plesk 17.0 and Plesk 17.5.
Indeed, I have enabled debug mode and I see messages like

27340:58e30cf288d34 [2017-04-04 10:03:27] DEBUG [util_exec] [2e211a44de0635e7652cc90b2d4b6aa7-0] Starting: phpinimng --type fpm --service php-fpm --poold /etc/php-fpm.d --restart

for each subscription on Plesk Onyx 17.0.
But I do not see this behavior on Plesk Onyx 17.5.
So, this behavior was changed on Plesk Onyx 17.5. Please check it there.
 
Thanks for elaborating, IgorG.

Plesk Onyx 17.5 is very new.
Plesk 12.5 is still supported.

Can this behavior be fixed in Plesk 12.5 for all existing users?
 
Hello, @Visnet

Usually, we don't backport fixes of such kind into 12.5. Could you please explain why it is so important for you? In your case, how many seconds it takes?
I propose to you to consider upgrading to Plesk Onyx 17.5, are there reasons do not do that?
 
Hello, @Visnet

Usually, we don't backport fixes of such kind into 12.5. Could you please explain why it is so important for you? In your case, how many seconds it takes?
I propose to you to consider upgrading to Plesk Onyx 17.5, are there reasons do not do that?

We have noticed that /usr/local/psa/bin/php_settings -u generally takes about 2 seconds per subscription.
With a larger number of subscriptions, for example with 150 subscriptions, executing this command would take about 5 minutes.

During the execution of this Plesk command a PHP-FPM reload is performed for every subscription, which shortly renders PHP-FPM unavailable for new requests with every reload.
This is unnecessarily causing downtime on and off during the full period of executing the Plesk command.
 
I have the same issue. Running "/usr/local/psa/bin/php_settings -u" on Plesk 12.5 will take several minutes and causes intermittent downtime for PHP websites.
 
Back
Top