cgroups

/ˈsiː.ɡruːps/

noun — “the bouncers of your Linux system, keeping each process in line.”

cgroups, short for control groups, is a Linux kernel feature that limits, accounts for, and isolates the resource usage of process groups. It allows administrators to allocate CPU, memory, disk I/O, and network bandwidth to specific groups of processes, ensuring that no single application can monopolize system resources. This is particularly vital in multi-tenant environments, containers, and high-performance computing where predictable behavior is crucial.

ulimit

/ˈjuːˌlɪm.ɪt/

noun — “the system’s polite way of saying ‘don’t eat all the RAM at once.’”

ulimit is a command and system feature in Unix-like operating systems that defines resource limits for processes. It allows administrators and users to set boundaries on various aspects of process execution, such as maximum file size, number of open files, stack size, and CPU time, preventing a single process from consuming all system resources and potentially destabilizing the system.

Resource Limit

/rɪˈzɔːrs ˈlɪmɪt/

noun — “the operating system’s way of saying: share your toys.”

Resource Limit is a control mechanism used by an operating system to cap how much of a system’s finite resources a process or user can consume. It exists to prevent a single program from monopolizing CPU time, memory, file handles, or other shared system assets.