Hello I am quite new to Cpanel/WHM I have a VPS with 4 CPU's, running a number of accounts/websites everything is fine but it seems that about once a week a job from a website spikes and takes my CPU requirements up to 35 CPU's and crashed the whole server.
I have been looking at RPM's such as cpu limit and PRM to help limit either the maximum CPU limit for any PID or user by %. Say 25% of total CPU's. I do not want to kill the PID just limit its usage so other services are not effected. But because of my inexperience I just cant quite get to grasp with these if they are what I should be looking at, I am open to suggestions.
In a perfect world yes the server resources would be increased but due to economics this cannot be done.
Please help.
I have been looking at RPM's such as cpu limit and PRM to help limit either the maximum CPU limit for any PID or user by %. Say 25% of total CPU's. I do not want to kill the PID just limit its usage so other services are not effected. But because of my inexperience I just cant quite get to grasp with these if they are what I should be looking at, I am open to suggestions.
In a perfect world yes the server resources would be increased but due to economics this cannot be done.
Please help.