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

Reply via email to