Skip to content
zarza zarza

How to Diagnose Linux Server Memory Leaks

09/06/2026 7 min Temporada 1 Episodio 41

Listen "How to Diagnose Linux Server Memory Leaks"

Episode Synopsis

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

ZARZA Studio — Your station on air today: library, music clock, schedule, studio and reports, from the browser.

Meet ZARZA Studio
on air now stations in the catalogue 1,827,688 podcasts countries