Report this

What is the reason for this report?

Memory disk and CPU peaks

Posted on January 11, 2019

Every 3 or 4 days my ram, cpu and disk hits the roof and I am not sure why?

Does anyone know why this might be happening or how I can log this to view the processes latter?

Cheers



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!

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.

Install these utils so you can gather historical data:

apt install atop sysstat

then:

service atop start
service sysstat start

My wild guess would be that every few days bots (ex: googlebots) try to re-index your site simultaneously or aggressively. And that causes the memory/cpu spikes you’re observing. It could also be malicious bots brute forcing your authentication pages. Review your access logs or analytics to try to understand what’s happening.

Cheers

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.