Skip to content
pyllyukko edited this page Nov 12, 2022 · 5 revisions

cgroups in Slackware

Services

  • rc.cgconfig is responsible for loading /etc/cgconfig.conf
  • rc.cgred (CGroups Rules Engine Daemon) (cgrulesengd) places processes into appropriate cgroups based in /etc/cgrules.conf configuration

Commands

Mount controllers:

for controller in cpuset cpu cpuacct blkio memory devices freezer net_cls perf_event net_prio pids misc; do mount -t cgroup -o ${controller} none /sys/fs/cgroup/${controller}; done

Problems

/usr/sbin/cgconfigparser; error loading /etc/cgconfig.conf: Cgroup one of the needed subsystems is not mounted
Clone this wiki locally