Hi Sean,
A couple ideas:
1) In your original cgroups.conf you have "TaskAffinity=no", but I'm not
aware of that parameter for cgroups.conf and cannot find it documented. You
may want to remove it.
2) Also in cgroups.conf, you may want to try adding
"ConstrainSwapSpace=yes" so that the process can
Hi,
Many thanks for that pointer Sean. I had missed the PrologFlags=Contain setting
so have added it to slurm.conf now.
I've also explicitly built slurm with pam support:
../configure --sysconfdir=/home/support/pkgs/slurm/etc
--prefix=/home/support/pkgs/slurm/ubuntu_20.04/21.08.8-2
--localsta
Hi Sean,
I don't see PrologFlags=Contain in your slurm.conf. It is one of the
entries required to activate the cgroup containment:
https://slurm.schedmd.com/cgroup.conf.html#OPT_/etc/slurm/slurm.conf
Best,
-Sean
On Tue, Nov 8, 2022 at 8:16 AM Sean McGrath wrote:
> Hi,
>
> I can't get cgroups
Hi,
I can't get cgroups to constrain memory or cores. If anyone is able to point
out what I am doing wrong I would be very grateful please.
Testing:
Request a core and 2G of memory, log into it and compile a binary that just
allocates memory quickly:
$ salloc -n 1 --mem=2G
$ ssh $SLURM_NODEL