• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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