[slurm-users] Problem with cgroup plugin in Ubuntu22.04 and slurm 21.08.5

Michael Gutteridge michael.gutteridge at gmail.com
Fri Apr 21 16:12:23 UTC 2023


Does this link
<https://slurm.schedmd.com/archive/slurm-22.05.8/cgroup.conf.html#SECTION_DISTRIBUTION-SPECIFIC-NOTES>
help?

> Debian and derivatives (e.g. Ubuntu) usually exclude the memory and
> memsw (swap) cgroups by default. To include them, add the following
> parameters to the kernel command line: cgroup_enable=memory swapaccount=1

I'm using Bionic (18) and after applying those changes it seems to be
working OK for me. I don't believe that Ubuntu has changed memory cgroup
configuration between 18 and 22, but we're only starting to use 22.

 - Michael

On Fri, Apr 21, 2023 at 9:01 AM Angel de Vicente <angel.de.vicente at iac.es>
wrote:

> Hello,
>
> Hermann Schwärzler <hermann.schwaerzler at uibk.ac.at> writes:
>
> > which version of cgroups does Ubuntu 22.04 use?
>
> I'm a cgroups noob, but my understanding is that both v2 and v1 coexist
> in Ubuntu 22.04
> (https://manpages.ubuntu.com/manpages/jammy/man7/cgroups.7.html). I have
> another machine with Ubuntu 18.04, which also has (AFAIK) both versions
> (https://manpages.ubuntu.com/manpages/jammy/man7/cgroups.7.html) and
> where Slurm (slurm-wlm) 21.08.8-2 is installed, and I have no cgroups
> issues there.
>
> > What is the output of "mount | grep cgroup" on your system?
>
> ,----
> | mount | grep cgroup
> | cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime)
> | cpuacct on /cgroup/cpuacct type cgroup (rw,relatime,cpuacct)
> | freezer on /cgroup/freezer type cgroup (rw,relatime,freezer)
> | cgroup on /sys/fs/cgroup/freezer type cgroup
> (rw,nosuid,nodev,noexec,relatime,freezer)
> `----
>
> Thanks for any help/pointers,
> --
> Ángel de Vicente
>  Research Software Engineer (Supercomputing and BigData)
>  Tel.: +34 922-605-747
>  Web.: http://research.iac.es/proyecto/polmag/
>
>  GPG: 0x8BDC390B69033F52
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20230421/33cbcaf1/attachment.htm>


More information about the slurm-users mailing list