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

When Your Server Swaps Itself to Death


Listen Later

Episode 23 of Linux Server Admin with Fexingo. Lucas and Luna dig into one of the most common yet misunderstood server failure modes: swap thrashing. They walk through a real scenario where a Postgres query triggered the OOM killer, and explain why the default vm.swappiness of 60 is almost always wrong for production. You'll learn exactly how to set swappiness to 10, configure systemd-oomd, and add swap health checks to your monitoring stack. No theory – just the specific sysctl values, the exact log patterns to grep for, and the one line of PromQL that catches the problem before pager duty calls. If your servers rely on swap, this episode will save you a 3 AM wake-up.

#Linux #Sysadmin #ServerAdmin #Swap #MemoryManagement #OOMKiller #Postgres #Systemd #Monitoring #Performance #vmSwappiness #Sysctl #PromQL #Bash #DevOps #FexingoBusiness #TechPodcast #ServerEngineering

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