Cgroups

Noun · Development

Definitions

  1. Control Groups — a Linux kernel feature that limits, accounts for, and isolates the resource usage (CPU, memory, disk I/O, network) of process groups. One of the two pillars of container technology (alongside namespaces). Docker and Kubernetes use cgroups to enforce container resource limits.

    In plain English: Linux's way of limiting how much CPU, memory, and disk a group of processes can use — the resource control behind containers.

    Example: "Set the memory cgroup limit to 512MB — if the container exceeds it, the OOM killer terminates it instead of affecting the host."

Related Terms