Digital ocean stress tests for WordPress website

Started by Abessethoulse, Apr 10, 2023, 06:25 AM

Previous topic - Next topic

AbessethoulseTopic starter

Hi there,

I came across a few services that perform stress testing on WordPress websites with a standard installation and several pages. I used the default configured lamp and was surprised by the results. On the service, a 512 MB virtual machine could only accommodate 50 simultaneous visitors and 1-2 requests per second. I'm not sure if this is too little or too much?
After a while, the system slowed down and eventually stopped working.

Can you suggest any options to improve the website's performance? I want to move away from shared hosting because it's no longer profitable. Is it appropriate to use auto-restart for the system? How can I fine-tune Apache for a 512 MB virtual machine on an SSD? Also, do you know of any reliable services that can conduct an adequate assessment of my website's performance?

Before the system failed, there were 41 active simulated clients (VU or SBU), 82 active connections, 1045 requests (7 req/s), and current requests per second.


Consider hiring an administrator.
As per the sub, if WordPress is not overloaded with ineffective plugins (and its base size is less than 250 MB), then it can handle 5-7 requests per second on the virtual machine.

If you push harder, it could potentially handle 10 requests per second. The number of visitors on the site does not necessarily indicate anything significant.


To ensure stability, it's advisable to generate a swapfile.

Next, follow these standard procedures:
1) Monitor the server, using tools such as Munin or Monit.
2) Load the server.
3) Review logs and monitor performance.
4) Fine-tune service and CMS configurations.
5) Repeat steps 2-4 until satisfactory results are achieved. Additionally, consider using for online service load testing, as its free version generates a more significant load compared to LoadImpact.


Purchase one instance for every component of the system within the same DO.
This includes 1 instance of mysql, 1 instance of php-fpm, and 1 instance of nginx. Integrate them all with the same newrelic account under the free tariff.

The total cost will be 15 dollars and this will bring happiness. Scaling horizontally in the future will be a simpler process with this setup.