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

Resolved Wordpress (Apache FPM) does not work for High Traffic

Yohann Stasse

New Pleskian
Hello,

I'm a recent user of Plesk. Installed a wordpress site with Apache FPM works fine.

I do load test with Apache Jmeter.
If I ask for a 1000 pages a min, no problem, all pages are served in 700ms. 2% of my CPU, less than 5 % of Bandwidth.

Now If I ask for 3000 pages a min (Which the server can easily do in terms of CPU and bandwidth), the first 10 pages are loaded in 700ms then the next 10 in 1000ms and it keeps escalating, to 2000ms and then 3000ms etc.

It's not because the server doesn't have enough resources, it's because those resources are not being used.

So I added this block to my apache:
<IfModule mpm_prefork_module>
StartServers 4
MinSpareServers 20
MaxSpareServers 40
MaxClients 1000
MaxRequestsPerChild 4500
ServerLimit 1000
</IfModule>

And also changed this in nginx:
worker_processes 20;

Restarted both processes. It changed nothing.

Can someone help with this issue?

Thank you very much.
 
Have you added this block to "Additional Apache directives" or how?
 
Ok found where the problem was:

It is in the php settings of the webspace in :
PHP-FPM settings-> pm.max_children default value is 5.
I put it to 1000, now I can server more than 10000 pages a min in 700 ms.

Thank you.
 
Back
Top