Control Groups

1 / 12

Namespaces control what a process can see. They say nothing about what it can consume — a process in every namespace we have built can still allocate all the memory on the machine and spin every core.

Control groups are the other half. A cgroup is a set of processes with limits attached, and the kernel enforces the limits on the whole group.

Finish →