Skip to content
zarza zarza

How to Use Linux cgroups v2 for Server Resource Control

12/06/2026 13 min Temporada 1 Episodio 47

Listen "How to Use Linux cgroups v2 for Server Resource Control"

Episode Synopsis

Episode 47 of Linux Server Admin with Fexingo dives into cgroups v2, the modern control group implementation that replaces the fragmented v1 system. Lucas and Luna walk through real server scenarios: limiting CPU shares for noisy neighbors on a shared web host, pinning memory for a critical database container, and configuring IO throttling for backup jobs. They explain how systemd integrates cgroups v2 by default on recent distros like Ubuntu 24.04 and RHEL 9, and show practical commands using systemctl and the cgroup filesystem. The episode includes a concrete example of isolating an Nginx worker from a runaway Python script, with step-by-step limits on cpu.max, memory.max, and io.max. Listeners learn why cgroups v2's single-hierarchy model simplifies delegation and avoids the edge cases that plagued v1. Perfect for sysadmins managing multi-tenant servers or container hosts.

#Linux #Sysadmin #CgroupsV2 #ResourceControl #ServerEngineering #Systemd #ContainerSecurity #PerformanceTuning #Ubuntu2404 #RHEL9 #CPUThrottling #MemoryLimits #IOLimits #Unix #OpenSource #DevOps #FexingoBusiness #BusinessPodcast

Keep every episode free: buymeacoffee.com/fexingo

ZARZA Studio — Your station on air today: library, music clock, schedule, studio and reports, from the browser.

Meet ZARZA Studio
on air now stations in the catalogue 1,827,688 podcasts countries