EPISODE · Jul 26, 2026 · 7 MIN
How to Set Resource Limits with Control Groups v2
from Linux Server Admin with Fexingo: Sysadmin, Bash, and Server Engineering · host Fexingo
In this episode of Linux Server Admin, Lucas and Luna dive into cgroups v2, the modern kernel feature for limiting CPU and memory usage of processes. They explain why traditional tools like nice and ulimit fall short, and demonstrate how to use systemd's drop-in files to apply resource constraints to any service. Using a real-world example of a memory-hungry database process, they show how to set MemoryMax, CPUQuota, and IOWeight, and how to verify limits with systemd-cgtop. The episode also covers pitfalls like forgetting to set Delegate=true for custom cgroup hierarchies, and how cgroups v2 integrates with container runtimes like Podman. Practical, battle-tested advice for sysadmins managing shared or high-density servers. #ControlGroups #cgroupsv2 #LinuxServer #Systemd #ResourceLimits #CPUQuota #MemoryMax #Sysadmin #ServerAdmin #LinuxKernel #Podman #ContainerLimits #Technology #LinuxAdmin #Bash #SystemdDropIn #FexingoBusiness #BusinessPodcast Keep every episode free: buymeacoffee.com/fexingo
Embed this episode
Ready to play
How to Set Resource Limits with Control Groups v2
No transcript for this episode yet
Similar Episodes
Feb 4, 2026 ·18m
Similar Podcasts
No similar podcasts found.