[torquedev] [PATCH] Change pbs_mom to set RLIMIT_AS instead of
RLIMIT_DATA for mem/pmem limits.
David Singleton
David.Singleton at anu.edu.au
Sun Jan 11 15:52:34 MST 2009
Chris Samuel wrote:
> ----- "David Singleton" <David.Singleton at anu.edu.au> wrote:
>
>> How did RLIMIT_DATA get into limiting "mem"?
>
> I presume because it was the only resource limit that
> affected malloc() under the Linux kernel. :-(
>
Unfortunately that is imposing a form of pvmem limit, not a
pmem limit. Memory allocation should be limited by vmem/pvmem
requests/limits, not by mem/pmem requests/limits.
Currently mem limits can only be imposed by MOM monitoring.
David
More information about the torquedev
mailing list