[SLE] Restricting CPU and memory usage

Marc Lanctot <[email protected]> Thu, 03 Aug 2006 12:02:25 -0400
Newsgroups gmane.linux.suse.general,gmane.linux.suse.ia64
Message-ID <[email protected]>
Hello,

I'm a system admin for the department of Atmospheric and Oceanic 
Sciences ant McGill University. I have recently become in charge of an 
SGI Altix Itanium machine running SUSE Enterprise Linux 9.0.

I'm looking for a way to control/restrict memory and CPU usage on this 
server. I know about nice and ulimit, but I need something more flexible 
that can:

- restrict the CPU usage time for a process (or user)

- limit the percentage/amount of the CPU allocated to a given user, and 
not just for a single process

- limit the percentage/amount of RAM allocated to a given use, and not 
just for a single process

I suspect to do so would require turning on some flags in the kernel and 
maybe using a tool to set these limits for each user, but I don't know 
if this exists.

Could someone recommend a tool or procedure to implement this?

Thanks,
Marc

-- 
Check the headers for your unsubscription address
For additional commands send e-mail to [email protected]
Also check the archives at http://lists.suse.com
Please read the FAQs: [email protected]