Question

Memory disk and CPU peaks

Posted January 11, 2019 387 views
WordPress Ubuntu 18.04

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

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.

1 answer

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

Submit an Answer