[slurm-users] possible to set memory slack space before killing jobs?
Bjørn-Helge Mevik
b.h.mevik at usit.uio.no
Fri Dec 7 03:23:50 MST 2018
Raymond Wan <rwan.work at gmail.com> writes:
> However, a more general question... I thought there is no fool-proof
> way to watch the amount of memory a job is using. What if within the
> script they ran another program using "nohup", for example. Wouldn't
> slurm be unable to include the memory usage of that program?
If you use jobacct_gather/cgroup, slurm (via cgroups) will count the
memory of all processes in the cgroup, and I don't think a regular user
is able to move any processes outside the current cgroup (or start a
process outside from a process inside).
--
Regards,
Bjørn-Helge Mevik, dr. scient,
Department for Research Computing, University of Oslo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20181207/78e68d5e/attachment.sig>
More information about the slurm-users
mailing list