Hi there,

On Sat, 20 Jul 2013 02:53:52 AM Bjørn-Helge Mevik wrote:

> With the recent changes in glibc in how virtual memory is allocated for
> threaded applications, limiting virtual memory usage for threaded
> applications is IMO not a good idea.  (One example: our slurcltd has
> allocated 16.1 GiB virtual memory, but is only using 104 MiB resident.)

Would you have a pointer to these changes please?

> I would suggest looking at cgroups for limiting memory usage.

Unfortunately cgroups doesn't limit usage (i.e. cause malloc() to fail should 
it have reached its limit); if I understand it correctly it just invokes the 
OOM killer on a candidate process within the cgroup once the limit is reached. 
:-(

All the best,
Chris
-- 
   Christopher Samuel - Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: [email protected] Phone: +61 (0)3 903 55545
         http://www.vlsci.unimelb.edu.au/

Reply via email to