I've been doing some testing with CloudLinux and the LVE limits and I'm not getting the results/protection I was expecting.
I'm testing on a 2 vCPU machine with 4GB memory.
I've got Grafana hooked up so I can see the load over time.
The 1m server load is typically sitting around 0.8 at idle.
I'm then using Apache AB to send 1000 requests, 5 at a time to a specific website which has an LVE speed limit of 50%.
If I understand things correctly, this should allow the website to use up to 50% of a single vCPU which should take the load to a little under 1.5 or so.
However what I'm seeing consistently is that the load keeps increasing and is going as high as 3.5 until the requests stop i.e. the server is being overloaded.
In the LVE current usage tab it shows the speed at 50% for that user along with very reasonable memory usage, IOPS, EP, etc.
For what it's worth, this is running on PHP 8.1 and has php-fpm enabled.
Thanks
I'm testing on a 2 vCPU machine with 4GB memory.
I've got Grafana hooked up so I can see the load over time.
The 1m server load is typically sitting around 0.8 at idle.
I'm then using Apache AB to send 1000 requests, 5 at a time to a specific website which has an LVE speed limit of 50%.
If I understand things correctly, this should allow the website to use up to 50% of a single vCPU which should take the load to a little under 1.5 or so.
However what I'm seeing consistently is that the load keeps increasing and is going as high as 3.5 until the requests stop i.e. the server is being overloaded.
In the LVE current usage tab it shows the speed at 50% for that user along with very reasonable memory usage, IOPS, EP, etc.
For what it's worth, this is running on PHP 8.1 and has php-fpm enabled.
Thanks