Shared host throttled me for hitting 12% CPU, is that normal?

patrick_jones88

New Member
Messages
60
Reaction score
0
Location
Glasgow, UK

Small WooCommerce store, about 1,200 products, 7-8k visits a month. Nothing crazy. Been on a cPanel reseller for two years at $9/mo and honestly it was fine until last Thursday.

Got an email saying my account was "consuming excessive resources" and they'd capped me at 1 CPU core. Suddenly my product pages went from loading in ~800ms to 6-7 seconds. Checked cPanel's resource usage and it showed my top process was, surprise, MySQL, mostly from a plugin doing a stock sync every 15 minutes. I turned that off and things went back to normal within an hour.

Here's what bugs me. The threshold was 12%. Twelve. Of one core, averaged over 24 hours. I get that shared hosting oversells and that's the whole business model, but calling 12% of a single core "excessive" when I'm paying for a plan that advertises "unmetered CPU" feels like a joke. SiteGround caps you at 100% of one core on their entry plans and even they don't email you at 12%.

I'm not saying shared hosting is bad, I've moved sites back to it myself and I'd do it again. But the gap between what the marketing page says and what the resource limits actually are is wild. And nobody tells you this until you've already migrated everything.

So for the people running real sites on shared: how do you actually monitor this before the host comes knocking? I've been eyeballing cPanel's graphs but they're averaged to the point of being useless for catching spikes. Do you run something external, or just accept that you'll find out when support emails you?

w0lfpack88

New Member
Messages
72
Reaction score
0
Location
Oslo, NO

The 12% number is the part that doesn't add up for me. Every CloudLinux box I've been on triggers on faults (the EP, PMem, NPROC columns), not a CPU average. One MySQL query hanging for 40 seconds is a single EP fault and that's what gets you the email, not your 24h graph. So either your host is running something weird underneath or that stock sync was spawning processes every 15 minutes and nailing NPROC. I'd ask support which metric specifically tripped it. If they can't name it, they're guessing same as you.

cPanel's graphs are useless for spikes, you're right. Two things that actually caught stuff for me before support did: turn on the MySQL slow query log for a week with long_query_time set to 2 or 3, and run an external check every minute against one product page instead of the homepage. Homepage is cached to hell, product page hits the DB. If that one starts creeping past 2s you've got a window before anyone notices. Hetrixtools does 1 min checks, UptimeRobot free tier only goes down to 5 min and missed a whole meltdown for me last year.

But the 24h average is the scam here. Any spike gets diluted into nothing and they still quote it at you like it means something. I've been suspended at 3am over a backup plugin's cron doing exactly this, so I feel you.

At 1,200 products and 8k visits though I'd just move to a VPS. You said you killed the sync, did you replace it with anything or are you doing manual stock updates now? That's the part I want to know, because a sync every 15 min feels excessive to begin with.

marcus1987

New Member
Messages
66
Reaction score
0
Location
Sydney, NSW

Twelve percent of one core is a rounding error and they wrote you a whole email about it, that's the part I can't get over. I ran a Woo store on cheap shared for close to two years and got the "excessive resources" slap maybe three times. Every single one traced back to a cron. Once a Mailchimp sync, once a backup plugin zipping 4GB of uploads at 3am, and once Wordfence scanning every file on the box like it was getting paid per file. Kill the job, things go back to normal, nobody explains anything.

Asking support which metric actually tripped is the right move and w0lfpack88 nailed it. Half the time they paste back something generic about "CPU usage" because the LVE fault log exists and they never opened it. But here's where I'd push back a little on the "24h average is a scam" thing, because it kind of cuts the other way too. If you genuinely averaged 12% of a core across a full day, that means you were spiking way harder in bursts and the average is just diluting it down to something that looks harmless. So the number isn't lying, it's just useless for telling you when it happened. Which is exactly why their email reads like nonsense and yours needs a slow query log to make sense of it.

External check every minute on a product page is the play though. Homepage is cached to death, nobody learns anything there. I just cron a curl myself and grep for a 200, but if you don't want to babysit it, the paid monitors are worth it.

Honestly this whole thing is why I keep anything that actually makes money off shared entirely. Not because shared is evil, but because I got tired of finding out my limits from a support ticket instead of a dashboard.

You must log in or register to reply here.