skinny.

Latest / Linux Server Admin with Fexingo: Sysadmin, Bash, and Server Engineering

How to Set Resource Limits with Control Groups v2

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…

The skinny

The skinny isn't ready yet — notes appear once the transcript is processed.