Limit CPU and Memory


I have created a new virtual server for a client and I am wanting to limit the CPU and Memory for that client. I want him to only be able to max out at half of my CPU and Memory.

How can I set these limits?



You can set CPU and memory limits in Administration Options -> Edit Resource Limits.


I don’t have that under Administration Options

Okay, that’s likely a Pro-only feature then.

However, you can manually setup limits using the PAM limits available in /etc/security/limits.conf.


Ok, I have set the mem now what about the CPU… its in Minutes?? What should that be set to?

I thought it was in cycles, but I dont know the formula for it myself.
the result of a script usage would look like iz_username - - vol2/ - 877.492