Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In cgroups there seems to be an option called 'cgroup.clone_children' for each subsystem, that allows you to specify if the setting of the parent cgroup should be inherited into the child cgroups. But I have not been able to find any evidence that it works.

I was hoping to use this feature to more easily administer cgroups by using the hierarchy to copy settings that are common to all groups and only tweak minor settings in the children cgroups.

Anyone have an idea if what I am trying to do can be done?

share|improve this question

That's exactly what it does:

/dev/cgroup# mkdir parent
/dev/cgroup# cat parent/cpuset.cpus
/dev/cgroup# echo 1-2 > parent/cpuset.cpus
/dev/cgroup# cat parent/cpuset.cpus
/dev/cgroup# echo 1 > parent.clone_children
/dev/cgroup# mkdir parent/child
/dev/cgroup# cat parent/child/cpuset.cpus
share|improve this answer
it seems like clone_children only affects cpuset, – kevin Jul 9 '14 at 21:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.