Re: [slurm-users] Cgroups not constraining memory & cores

2022-11-11 Thread Sean Maxwell
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

Re: [slurm-users] Cgroups not constraining memory & cores

2022-11-11 Thread Sean McGrath
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

Re: [slurm-users] Cgroups not constraining memory & cores

2022-11-08 Thread Sean Maxwell
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