By thecodacus
Hi, yesterday I set up a WordPress server with 1GB Droplet for WordPress with 1GB separate droplet for Mysql Database. Today I after I logged in to control panel I saw a sudden Spike in CPU and Disk IO and A sudden Fall in Ram after that. I checked my website its down server was frozen, I tried to ssh to the server and tried to restart the apache, nothing worked so I had to restart the server from control panel
this is the apache /var/log/apache2/error.log ->https://pastebin.com/7ZFx2d3T and this is the screenshot of the graphs -> https://drive.google.com/open?id=1ALH9rSALrfHD_gP48P248AXKUGFxt6Vi
(Logs time zone and graph time zones are different )
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
It looks like that there was a spike in your traffic which caused the sudden CPU load. What I could suggest is:
https://www.digitalocean.com/community/tutorials/an-introduction-to-load-testing
Also make sure to optimize your Wordpress website, for example, delete all plugins that are not absolutely necessary, install a caching plugin and maybe enable a CDN
Check your logs and make sure that there was no malicious traffic towards your site, you could, for example, use this script here to summarize your access logs.
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.