Image for cgroups

cgroups

Control groups (cgroups) are a Linux feature that manage and allocate system resources—such as CPU, memory, and disk bandwidth—among different processes or groups of processes. Think of them as a way to organize and limit how much resources each set of tasks can use, ensuring that no single group overwhelms the system or affects others’ performance. Cgroups help maintain system stability, optimize resource distribution, and enable efficient multitasking in servers and containers.