[torquedev] ulimit/setrlimit doesn't enforce RLIMIT_DATA on Linux
Christopher Samuel
samuel at unimelb.edu.au
Fri Nov 19 17:52:52 MST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 20/10/10 02:41, Eygene Ryabinkin wrote:
> resi_sum() does not use get_proc_stat(), it crawls over proc_array and
> sums up the rss usage basing on the session identifier. You may argue
> that it is simple to escape the session. Yes, it is, but only
> undeniable labels (like cgroups) can really help here.
Even that won't help if the MPI launcher uses SSH to farm
jobs out (such as with commercial codes like Fluent, etc).
I did try and figure out at one point if pam_torque would
be able to change the control group or cpuset of the SSH
session it was being used to authenticate/authorise, but
without success.
cheers,
Chris
- --
Christopher Samuel - Senior Systems Administrator
VLSCI - Victorian Life Sciences Computational 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.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkznG+QACgkQO2KABBYQAh8HIgCglNQqY+Cu8rHdrF67Tf8zEZin
VioAnjl2YNIKXmUYa5cFVcUId8SY+DJf
=f8RJ
-----END PGP SIGNATURE-----
More information about the torquedev
mailing list