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

How to Tame Linux Kernel OOM Killer with Systemd


Listen Later

Episode 18 of Linux Server Admin with Fexingo tackles the Linux kernel's Out-Of-Memory (OOM) Killer—a necessary but brutal mechanism that can kill critical services when memory pressure spikes. Hosts Lucas and Luna explore why the OOM Killer often targets the wrong process, how systemd's OOMD (introduced in v243) gives sysadmins fine-grained control over which services get sacrificed, and a real-world case where a misconfigured PostgreSQL OOM score led to production downtime. They cover practical configuration: adjusting OOMScoreAdjust, setting ManagedOOMSwap and ManagedOOMMemoryPressure, and using oomd to protect essential daemons like SSH and monitoring agents. The episode includes a walkthrough of reading /proc//oom_score and /proc//oom_score_adj, plus a donation segment about keeping the show ad-free. Aimed at sysadmins managing Linux servers under memory constraints, this episode provides actionable steps to prevent the OOM Killer from ruining your day.

#LinuxServerAdmin #Sysadmin #OOMKiller #Systemd #OOMD #Kernel #MemoryManagement #ServerEngineering #PostgreSQL #SystemdOOMD #LinuxPerformance #SysadminTips #ProductionDowntime #Technology #DevOps #FexingoBusiness #BusinessPodcast #ServerAdmin

Keep every episode free: buymeacoffee.com/fexingo

...more
View all episodesView all episodes
Download on the App Store

Linux Server Admin with Fexingo: Sysadmin, Bash, and Server EngineeringBy Fexingo