El Jueves, 3 de Agosto de 2006 18:02, Marc Lanctot escribió:
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?
You can use cpusets, numatools, ...
Some of them are available via SLES and others via SGI's ProPack CDs.