[pkg-lxc-devel] LXC cgroup problem in Bullseye

Ervin Hegedüs airween at gmail.com
Wed Jun 30 06:51:29 BST 2021


Hi Harri,

thanks for reply (and sorry for the post-editing, I didn't
receive your mail, just saw it in the mail archive...)

On Wed, Jun 23, 2021 at 09:23:51BST, Harald Dunkel wrote:
> Hi Ervin,
> 
> assuming you are using cgroup v1 in your container, do you see
> the expected limits in
> 
> 	/sys/fs/cgroup/cpuset
> 	/sys/fs/cgroup/memory
> 
> and others? Check the output of "mount" for a list of cgroup mount
> points.

meantime the LXC developers helped me. LXC in Bullseye uses
cgroup2, so I had to replace the old limitation directives. Now I
get these ones:

lxc.cgroup2.memory.max = 4G
lxc.cgroup2.memory.high = 4G
lxc.cgroup2.cpuset.cpus = 0-3
lxc.cgroup2.io.max="8:0 rbps=67108864 wbps=67108864"

and it works as well.

Thanks again.

a.


ps: I have Debian Wiki editor access, can I modify the related
LXC page(s)? Which would be the best place for this information?

https://wiki.debian.org/LXC/CGroupV2

or this one?

https://wiki.debian.org/LXC
 



More information about the Pkg-lxc-devel mailing list