4

A simple question: does OpenRC support cgroups version 2?

It seems that only version 1 is supported. And if it supports v2, how do I enable it?

dhag
  • 15,440
  • 4
  • 54
  • 65
Megver83
  • 301
  • 3
  • 11

2 Answers2

3

cgroup v2 can be enabled under OpenRC by setting in /etc/rc.conf:

rc_cgroup_mode="unified"

& rebooting.

Stuart Cardall
  • 1,876
  • 1
  • 14
  • 15
2

Unfortunately, it doesn't seem to support cgroups v2 yet

Here's an open issue: https://github.com/OpenRC/openrc/issues/94

Shagrax
  • 21
  • 2