Benjamin D.

Well-Known Member
Jan 28, 2016
252
36
78
Canada
cPanel Access Level
Root Administrator
I'm managing a server that hosts many Wordpress sites and some of them are seemingly made by "developers" that don't use caching plugins, do not rewrite the wp-admin.php script location, etc... and the worst thing is that some of those under optimized WP sites are very popular (by both humans and robots) so some days there are 15-20 index.php requests at once and since they're not cached, the CPU usage goes flying at 1000% and sometimes 2000% (yes, 2 thousand percent). I've even seen CPU usage go to 80.0 at some point and I couldn't even sign in to WHM at all, it would time out with an error 500. It's really bad.

Is there a tool in WHM to prevent a single cPanel account from bringing a WHM server down to its knees? I'm looking for a way to set for a given account: Limit CPU usage to 1.0 or something like that.

All I could find are posts from 2004, 2008 or 2010 asking the same thing so surely, in 15 years, WHM has evolved, hasn't it?
 

quietFinn

Well-Known Member
Feb 4, 2006
2,024
542
493
Finland
cPanel Access Level
Root Administrator
It's not a "hosting solution", it's more like an extension that " improves server stability, density, and security by isolating each tenant and giving them allocated server resources."
We have CloudLinux in all our servers and I would not run a shared server without it.
 
  • Like
Reactions: Cityhues and cPRex

Benjamin D.

Well-Known Member
Jan 28, 2016
252
36
78
Canada
cPanel Access Level
Root Administrator
I do not run a shared server and I would have expected WHM to provide a tool to mitigate CPU usage per account, especially when this feature has been asked by WHM customers for nearly 2 decades. Bare metal WHM costs us 50$/month.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
While you may not call it a shared server, if you're running a server where you didn't install and configure every site yourself, and "that hosts many Wordpress sites and some of them are seemingly made by "developers" that don't use caching plugins" you're running a shared server.
 

quietFinn

Well-Known Member
Feb 4, 2006
2,024
542
493
Finland
cPanel Access Level
Root Administrator
From Wikipedia:
"A shared web hosting service is a web hosting service where many websites reside on one web server connected to the Internet. The overall cost of server maintenance is spread over many customers. By using shared hosting, the website will share a physical server with one or more other websites."
 

Benjamin D.

Well-Known Member
Jan 28, 2016
252
36
78
Canada
cPanel Access Level
Root Administrator
Who runs a whole server for themselves just to have a single website on it? That is crazy. And what is the point of WHM compared to cPanel? I thought WHM was exactly for managing a server that had more than 1 website. Otherwise, why bother with WHM on a dedicated server in the first place? That would serve absolutely no purpose.
 

quietFinn

Well-Known Member
Feb 4, 2006
2,024
542
493
Finland
cPanel Access Level
Root Administrator
Because in a server (usually a VPS) with root WHM access you have full control of the whole server, CloudLinux has CloudLinux Solo for that kind of use.