<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hi Crhis,<br></div><div>That makes sense, thanks a lot !<br data-mce-bogus="1"></div><div>Arthur<br data-mce-bogus="1"></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>De: </b>"Christopher Samuel" <chris@csamuel.org><br><b>À: </b>"slurm-users" <slurm-users@lists.schedmd.com><br><b>Envoyé: </b>Mercredi 17 Novembre 2021 02:36:36<br><b>Objet: </b>Re: [slurm-users] Can't use cgroups on debian 11 : unable to get parameter 'tasks' for '/sys/fs/cgroup/cpuset/'<br></div><div><br></div><div data-marker="__QUOTED_TEXT__">On 11/16/21 8:04 am, Arthur Toussaint wrote:<br><br>> I've seen people having those kind of problems, but no one seem to be <br>> able to solve it and keep the cgroups<br><br>Debian Bullseye switched to cgroups v2 by default which Slurm doesn't <br>support yet, you'll need to switch back to the v1 cgroups. The release <br>notes have info on how to do this here:<br><br>https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#openstack-cgroups<br><br>Short version is it says you need to add this to the kernel boot params:<br><br>systemd.unified_cgroup_hierarchy=false <br>systemd.legacy_systemd_cgroup_controller=false<br><br>The name of that second one looks a bit misleading, it's described in <br>the systemd man page as:<br><br>https://manpages.debian.org/testing/systemd/systemd.1.en.html<br><br> > Takes effect if the full unified cgroup hierarchy is not used (see <br>previous option). When specified without an argument or with a true <br>argument, disables the use of "hybrid" cgroup hierarchy (i.e. a <br>cgroups-v2 tree used for systemd, and legacy cgroup hierarchy[10], <br>a.k.a. cgroups-v1, for other controllers), and forces a full "legacy" <br>mode. When specified with a false argument, enables the use of "hybrid" <br>hierarchy.<br><br>All the best,<br>Chris<br>-- <br>   Chris Samuel  :  http://www.csamuel.org/  :  Berkeley, CA, USA<br></div></div></body></html>