----- Mail original -----

> Maybe I missed something else...


That's right. Thank to Bjørn-Helge who help me.

You must enable swapaccount in the kernel as shown here: 
https://unix.stackexchange.com/questions/531480/what-does-swapaccount-1-in-grub-cmdline-linux-default-do
By default, this is apparently not necessary to explicit this option for RHEL7, 
but I'm on Debian.

Now everything works fine with this cgroup.conf configuration:

CgroupAutomount=yes
ConstrainCores=yes
ConstrainSwapSpace=yes

Thanks.

Best regards,

Jean-Mathieu

Reply via email to