[torqueusers] memory limit -l mem is not working
Christopher Samuel
samuel at unimelb.edu.au
Tue Jan 10 17:24:38 MST 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/01/12 01:36, "Mgr. ?imon Tóth" wrote:
> If you want system-level enforcement of resource allocations, you will
> have to use a modified version of Torque with support for CGROUPS.
Or the attached patch which sets RLIMIT_AS instead of RLIMIT_DATA for
mem and pmem requests. RLIMIT_DATA is only honoured when malloc() in
calls brk()/sbrk() for trivial allocations. For any non-trivial
allocation it calls mmap() which ignores RLIMIT_DATA and looks at
RLIMIT_AS instead.
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/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8M1sYACgkQO2KABBYQAh/GYwCff8ypRhrdK7ozyIhIGQCHNO2s
Q/UAmwdTMOvbTGR45vZw2koLXJczs8t3
=9LYU
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-rlimit-as-not-data.patch
Type: text/x-patch
Size: 1238 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20120111/cc3a03f5/attachment.bin
More information about the torqueusers
mailing list