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