[Arm-dev] cgconfig and cgroup restoring seems broken

Gordan Bobic

gordan at redsleeve.org
Thu Nov 28 20:54:40 UTC 2019


Has the way cgroups and cgconfig work changed in el8 from el7?

I have this config file that works in el7:
$ cat /etc/cgconfig.d/idle.conf
# Configuration file generated by cgsnapshot
group idle {
  perm {
    admin {
      uid = idle;
      gid = idle;
    }
    task {
      uid = idle;
      gid = idle;
    }
  }
  cpu {
    cpu.cfs_period_us="100000";
    cpu.cfs_quota_us="-1";
    cpu.shares="2";
  }
  cpuacct {
    cpuacct.usage="0";
  }
}

Running cgconfig in el8 doesn't seem to restore it. Is this a known bug? Is
additional configuration needed somewhere else?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/arm-dev/attachments/20191128/808edc89/attachment.html>


More information about the Arm-dev mailing list