Limit CPU and Memory

Hi,

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?

Thanks

Howdy,

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

-Eric

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.

-Eric

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 - domain.org - vol2/domain.org/username/htdocs/gb/gb_action.php - 877.492