How to Diagnose and Fix High CPU or Memory Usage on Shared Hosting
When a site feels sluggish or keeps tripping resource limits, the cause is almost always something using more CPU or memory than it should. The trick is to stop guessing and actually see where it is going — cPanel gives you the tools to do exactly that.
Step 1: Read your resource usage graphs
Log in to cPanel and open Metrics → Resource Usage (sometimes shown as CPU and Concurrent Connection Usage). The graphs reveal when usage spikes and which resource maxes out — CPU, physical memory, or entry processes. Our overview of hosting resource usage explains what each figure means.
Step 2: Match spikes to activity
Line up the spike times against what your site does:
- Regular spikes on the hour often point to a cron job or WordPress's own scheduler.
- Spikes with traffic suggest missing caching.
- Constant high usage usually means a heavy plugin, a bad query, or unwanted bot traffic.
Step 3: Cut the biggest offenders
- Enable caching — the highest-impact change. See LiteSpeed Cache.
- Audit plugins — deactivate one at a time and watch the graph settle.
- Block bad bots that crawl relentlessly — see blocking bad bots with .htaccess.
- Optimise the database — see optimising your database.
Step 4: Rule out a compromise
A sudden, unexplained jump in usage can mean malware sending spam or mining in the background. Run a scan — see scanning for malware with Imunify360.
Frequently asked questions
What is an "entry process" and why does it matter?
It roughly counts how many requests your site is handling at once. Hitting that limit causes 508 errors. Caching lowers it by serving pages faster, so each request finishes sooner.
My usage is fine most of the day but spikes at night.
That pattern usually means a scheduled task or a backup running. Reschedule heavy cron jobs to off-peak times and stagger them so they do not all fire at once.
I have optimised everything — is it time to upgrade?
If a well-tuned site still maxes out, yes. A larger plan or VPS gives more CPU and memory — see upgrading your plan.
Was this article helpful?