cgroups - CI/CD Glossary Definition
cgroups (control groups) are a Linux kernel feature that limits and accounts for the resources (CPU, memory, I/O) a group of processes may use. Containers use cgroups to enforce their resource limits.
The memory limit connection
When a container exceeds its cgroup memory limit, the kernel out-of-memory killer terminates a process, producing exit code 137 in CI logs. Raising the limit or trimming memory use fixes it.
Related guides
Linux Namespaces - CI/CD Glossary DefinitionLinux Namespaces: Linux namespaces are a kernel feature that isolates what a process can see: PID, network, m…
Resource Limits - CI/CD Glossary DefinitionResource Limits: Resource limits cap the CPU and memory a container may consume, enforced through cgroups. In…
OOM Score - CI/CD Glossary DefinitionOOM Score: The OOM score is a per-process value the Linux kernel uses to decide which process to kill first w…