Skip to content
Latchkey

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

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →