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.
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.
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
Click below to sign up and get $100 of credit to try our products over 60 days!
I was literally loading the site when memory went and disk usage went to 0% but site was loading fine. I tried sending DO an email but in reply I just got some links to track the cpu usage and how to check stats. Nothing else
Is your site going down during these peaks? If not, then ive already asked this question at https://www.digitalocean.com/community/questions/spikes-in-system-load-on-do-monitoring-graphs Apparently due to connectivity issues with the DO monitoring API