Question

Nginx Optimization for 2 wordpress website on single droplet

hello team I want to optimize my server because my website down after some traffic

check CPU usage >> https://prnt.sc/1wyuhxt

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

What I could suggest is the following:

  • Make sure that your two websites have a good caching plugin installed. this will reduce the overall load on the server.
  • Remove all plugins and themes that you do not use.
  • Enable CDN like Cloudflare for both of your websites.
  • Make sure that you tweak your MySQL for optimal performance, as per the instructions here:

https://www.digitalocean.com/community/questions/how-to-tweak-mysql-mariadb-configuration-for-increased-performance-and-stability

If the issue still persists, it might be a good idea to add some extra resources like CPU and RAM to the server.

Let me know how it goes. Best, Bobby