cgconfig.conf : setting root control group parameters

Posted by delerious010 on Server Fault See other posts from Server Fault or by delerious010
Published on 2010-12-30T16:59:44Z Indexed on 2010/12/30 17:56 UTC
Read the original article Hit count: 390

Filed under:

I've got cpu, cpuacct and memory cgroups configured via /etc/cgconfig.conf ( cgconfig-bin on Lucid ). I can add new control groups, and assign processes to them however there does not seem to be a facility for changing the paramters of the root level memory cgroup ( the actual mount point ).

How would one best set such parameters in a clean manner withoput c

For example, I've the memory cgroup mounted to /var/run/cgroup/memory. I'd like to have /var/run/cgroup/memory/memory.use_hierarchy set to 1 on boot.

© Server Fault or respective owner

Related posts about linux