[slurm-users] How to enforce memory contrains?

Rodrigo Santibáñez rsantibanez.uchile at gmail.com
Mon Oct 4 22:46:18 UTC 2021


Hello Slurm Users,

I'm having a hard time configuring slurm to kill jobs when they use more
memory than requested. Also, I can't make jobs use only RAM, and some of
them starts to use SWAP.

I don't know what I'm missing.

Thanks for your help

slurmd -V
slurm 20.02.6

slurm.conf
TaskPlugin=task/affinity,task/cgroup
ProctrackType=proctrack/cgroup

cgroup.conf
AllowedRAMSpace=100.0
AllowedSwapSpace=0.0
ConstrainRAMSpace=yes
ConstrainSwapSpace=yes
MemorySwappiness=0
CgroupAutomount=yes
ConstrainCores=yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20211004/99c9260a/attachment.htm>


More information about the slurm-users mailing list