• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Question PHP FPM recommended settings

xdelios

Basic Pleskian
Hello,

I have Plesk Onyx latest installed on a VPS that has the following

2v Cores
8 GB of RAM
80GB NVMe space

The site is hosting about 10-15 wordpress sites that use woocommerce.
None of the sites has very heavy traffic in reality though. No more than 5000 total unique visitors for all of them.

What php-fpm settings should I use?
I currently left it untouched but I think tweaking those could improve somewhat the performance or load of the server.

Thanks for taking the time.
 
The default values very fast produced this:
WARNING: [pool example.org] seems busy
or
WARNING: [pool j-k-fischer-verlag.de] server reached pm.max_children setting
in /var/log/php-fpm/error.log
for me. (My users very often trigger ajax scripts)
After I increased the values, only some bad bots produce such warnings

I have no recommendation for you, as I just feel too unexperienced for this, but monitoring this logfile seemed to be a good idea for me
 
The default values very fast produced this:
WARNING: [pool example.org] seems busy
or
WARNING: [pool j-k-fischer-verlag.de] server reached pm.max_children setting
in /var/log/php-fpm/error.log
for me. (My users very often trigger ajax scripts)
After I increased the values, only some bad bots produce such warnings

I have no recommendation for you, as I just feel too unexperienced for this, but monitoring this logfile seemed to be a good idea for me

Thanks for the input, I will certainly keep an eye on those logs.
I appreciate it.

Still if someone can recommend some specific settings for the php-fpm please do let me know.
 

I stumbled upon that article my self.
The main difference though as I can understand is that the user requesting feedback is probably hosting 1 website and not multiple, or at least that is a possibility.

I am requesting feedback on settings that could be recommended for a "shared" enviroment if that makes sense.
 
Back
Top