By sameer khan
i have basic droplet in which i am hosting website. i see spikes in Disk I/O in all of sudden and then ram usage goes down to 0 and same goes for Memory and CPU and after a min it goes back to normal. i have checked nginx logs if some application is crashing, there were few errors which i have already solved those were related to missing images, but i am not able to find any root cause of it or the process which is causing it.
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,
Try checking your Nginx access logs, maybe there is some malicious activity hitting your site which causes the problem.
You could try using this bash script to summarize your access logs, it looks like it’s for apache but maybe it would work for Nginx as well as the access logs should be in the same format:
Let me know how it goes! 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.