[torqueusers] vmem and pvmem

Chris Samuel samuel at unimelb.edu.au
Sat Feb 25 18:09:40 MST 2012


On Saturday 25 February 2012 10:50:00 David Singleton wrote:

> I disagree with vmem setting RLIMIT_AS if that is what is
> happening.

RILIMT_AS is the only way to limit the amount of memory a process can 
allocate in Linux with Torque (unless you have control group support 
enabled in both your kernel and in Torque).

Current implementations of malloc() in glibc use mmap() for any 
allocation above a trivial value and the kernel only looks at 
RLIMIT_AS for mmap().

cheers,
Chris
-- 
   Christopher Samuel - Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: samuel at unimelb.edu.au Phone: +61 (0)3 903 55545
         http://www.vlsci.unimelb.edu.au/


More information about the torqueusers mailing list