User Tools

Site Tools


linux:disable_cgroups

Linux: disable cgroups

One liner:

# cat /proc/cgroups|grep -v ^#|cut -f 1|xargs -ifoo echo -n foo,
cpuset,cpu,cpuacct,blkio,memory,devices,freezer,net_cls,perf_event,net_prio,pids,

Add the list to cgroup_disable= kernel parameter in the bootloader configuration.

Is there any legitimate need to disable cgroups?

linux/disable_cgroups.txt · Last modified: 2018/04/08 11:57 by cbredi