Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to know is there a way i can dedicate the CPU power (i have 8 quad core AMD processor), i host over 5 accounts in the Cpanel/WHM,

but there is a one main website i need to dedicate my 50% of the CPU and Memory in case it will be running low on resources when other sites may be eating the mysql and the CPU, the memory ..etc

is this possible ? any dangers in doing this ?

share|improve this question

closed as not a real question by David Schwartz, voretaq7 Nov 13 '12 at 1:33

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Your question runs counter to how Unix systems schedule processes -- while you can attempt to outsmart the scheduler and tie processes to specific CPUs this almost always results in reduced performance. If you want to do the sort of "percent CPU" reservations you're talking about you're probably better off using a virtual machine infrastructure (like VMWare) which can do what you're asking (albeit on a "whole (virtual) machine" level... – voretaq7 Nov 13 '12 at 3:43

You can define a limit for CPU usage per site in Apache using the RLimitCPU Directive

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.