[slurm-users] limiting memory usage when submission doesn't specify memory requirements?
Matthias Leopold
matthias.leopold at meduniwien.ac.at
Thu Apr 22 10:13:30 UTC 2021
Hi,
I'm testing how limiting memory resources works in Slurm.
I'm using TaskPlugin=affinity,cgroup (slurm.conf) and
ConstrainRAMSpace=yes (cgroup.conf) and have set a MaxMemPerCPU limit on
the partition.
To my surprise MaxMemPerCPU is enforced as long as the job submission
requests a memory limit (like --mem-per-cpu), but isn't enforced when
job submission doesn't request a memory limit. Is this really expected
behaviour? How do I constrain these jobs? Force requesting memory limit
with submission plugin?
thx
Matthias
More information about the slurm-users
mailing list