EPISODE · Jun 9, 2026 · 7 MIN
How to Diagnose Linux Server Memory Leaks
from Linux Server Admin with Fexingo: Sysadmin, Bash, and Server Engineering · host Fexingo
Memory leaks on Linux servers can silently degrade performance until a process is killed or the system crashes. In this episode, Lucas and Luna walk through a real-world scenario: a Node.js web server that slowly consumes memory over days. They explain how to use tools like 'top', 'ps', '/proc/meminfo', 'smem', and 'valgrind' to identify the offending process, measure memory growth, and trace the leak to its source. They also cover practical prevention strategies, including memory limits with systemd and cgroups, and monitoring with a simple cron script. No theory without practice — listeners get a concrete shell one-liner to log resident set size over time and a checklist for integrating leak detection into CI. Perfect for sysadmins who manage production servers and want to catch leaks before users notice. #Linux #ServerMemoryLeak #Sysadmin #MemoryDiagnosis #NodeJsMemoryLeak #TopCommand #Valgrind #SystemdMemoryLimit #Cgroups #ResidentSetSize #Smem #ProductionDebugging #PerformanceMonitoring #BashScripting #Fexingo #FexingoTech #TechnologyPodcast #LinuxServerAdmin Keep every episode free: buymeacoffee.com/fexingo
What this episode covers
Memory leaks on Linux servers can silently degrade performance until a process is killed or the system crashes. In this episode, Lucas and Luna walk through a real-world scenario: a Node.js web server that slowly consumes memory over days. They explain how to use tools like 'top', 'ps', '/proc/meminfo', 'smem', and 'valgrind' to identify the offending process, measure memory growth, and trace the leak to its source. They also cover practical prevention strategies, including memory limits with systemd and cgroups, and monitoring with a simple cron script. No theory without practice — listeners get a concrete shell one-liner to log resident set size over time and a checklist for integrating leak detection into CI. Perfect for sysadmins who manage production servers and want to catch leaks before users notice. #Linux #ServerMemoryLeak #Sysadmin #MemoryDiagnosis #NodeJsMemoryLeak #TopCommand #Valgrind #SystemdMemoryLimit #Cgroups #ResidentSetSize #Smem #ProductionDebugging #PerformanceMonitoring #BashScripting #Fexingo #FexingoTech #TechnologyPodcast #LinuxServerAdmin Keep every episode free: buymeacoffee.com/fexingo
NOW PLAYING
How to Diagnose Linux Server Memory Leaks
No transcript for this episode yet
Similar Episodes
Mar 26, 2026 ·1m
Mar 19, 2026 ·34m
Feb 18, 2026 ·11m
Feb 11, 2026 ·45m