[CentOS] strict memory

Joshua Baker-LePain jlb17 at duke.edu
Thu Oct 16 16:59:39 UTC 2008


On Thu, 16 Oct 2008 at 12:48pm, Mag Gam wrote

> Running 5.2 at our university. We have several student's processes
> that take up too much memory. Our system have 64G of RAM and some
> processes take close to 32-48G of RAM. This is causing many problems
> for others. I was wondering if there is a way to restrict memory usage
> per process? If the process goes over 32G simply kill it. Any thoughts
> or ideas?

Have a look at /etc/security/limits.conf.

-- 
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF


More information about the CentOS mailing list