can i limit the cpu usage for an account !

azfandak

Verified User
Joined
Aug 2, 2008
Messages
42
hi
one of my account have very high use of cpu !
can i limit the cpu for this account in direct admin !?
Thanks
 
No, DirectAdmin does not have this feature built in. It's a great idea for a feature, but it is probably quite hard to implement.
 
There are no tools built into either Linux or Unix which would make this easy. I'm not even sure it's possible, though usually I write that everything is possible.

You can limit processor use by program instance, but I'm not sure how you'd create a program instance for a specific user to run with specific limits.

Anyone else?

Jeff
 
I think you can with /etc/limits.conf but its not really by a percentage but a processing time.

The file might be /etc/limits.conf or /etc/security/limits.conf

You can run the manual with:
Code:
man limits.conf
 
chatwizrd was suggesting you read the limits.conf manual.

However, I tried (CentOS4):
Code:
$ man limits.conf
No manual entry for limits.conf
$
Jeff
 
Back
Top