[torquedev] [PATCH] Change pbs_mom to set RLIMIT_AS instead of RLIMIT_DATA for mem/pmem limits.

Chris Samuel csamuel at vpac.org
Sat Jan 10 05:00:44 MST 2009


Hi folks,

Attached are two patches (one against trunk, one against
branches/2.3-fixes) to change pbs_mom to set RLIMIT_AS rather
than RLIMIT_DATA for mem and pmem memory limits.

This should result in them being enforced for codes that
make non-trivial memory allocations as well as trivial ones.

Given that we're only fixing the code to bring back behaviour
that used to work for systems with old glibc it *should* be
fairly uncontroversial, but I suspect that people will find
the correct behaviour to be a surprise.

Do people think this is safe for 2.3 ?

PS: I'm experimenting with git-svn, hence the different formatting.

cheers,
Chris
-- 
Christopher Samuel - (03) 9925 4751 - Systems Manager
 The Victorian Partnership for Advanced Computing
 P.O. Box 201, Carlton South, VIC 3053, Australia
VPAC is a not-for-profit Registered Research Agency
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Change-pbs_mom-to-set-RLIMIT_AS-trunk.patch
Type: text/x-diff
Size: 1724 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20090110/65a74bcb/0001-Change-pbs_mom-to-set-RLIMIT_AS-trunk.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Change-pbs_mom-to-set-RLIMIT_AS-2.3-fixes.patch
Type: text/x-diff
Size: 1765 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20090110/65a74bcb/0001-Change-pbs_mom-to-set-RLIMIT_AS-2.3-fixes.bin


More information about the torquedev mailing list