[slurm-users] How to automatically kill a job that exceeds its memory limits (--mem-per-cpu)?
Jean-mathieu CHANTREIN
jean-mathieu.chantrein at univ-angers.fr
Wed Oct 9 13:57:02 UTC 2019
----- Mail original -----
> Maybe I missed something else...
That's right. Thank to Bjørn-Helge who help me.
You must enable swapaccount in the kernel as shown here: https://unix.stackexchange.com/questions/531480/what-does-swapaccount-1-in-grub-cmdline-linux-default-do
By default, this is apparently not necessary to explicit this option for RHEL7, but I'm on Debian.
Now everything works fine with this cgroup.conf configuration:
CgroupAutomount=yes
ConstrainCores=yes
ConstrainSwapSpace=yes
Thanks.
Best regards,
Jean-Mathieu
More information about the slurm-users
mailing list