Report this

What is the reason for this report?

Load and CPU Spikes

Posted on September 2, 2025

I’m recently getting random spikes in load and cpu at least once in a few days, which slow down and mostly crashes the wordpress site. My question is that how can I precisely detect what causes this. I’ve tried several things like increasing wp memory limit but without knowing the cause of this, it is meaningless.

https://imgur.com/G3RMS3u



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.

Hi there,

Random spikes on WordPress usually come from traffic bursts (legit or bots), heavy plugins, or scheduled jobs like backups or cron. Bumping memory is one way to go but you could also check what actually is going on on the server itself as well.

First step is to check your Apache/access logs around the spike. I put together a small script to make that easier: quick_access_logs_summary. It’ll show if a specific path, plugin, or bot is hammering your site.

Also worth:

Once you know if it’s traffic or local jobs, you can tune accordingly.

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.