blog / linux
Linux troubleshooting guides
Disk-full mysteries, load averages that lie, OOM killer forensics, systemd units that will not start. Production Linux debugging, written from the incident side.
9 posts
Posts
Zombie processes: what defunct really means
Zombie processes explained: what <defunct> means, why kill -9 does nothing, how to find the negligent parent, and when a zombie process on Linux matters.
Linux interview questions: scenarios from real 3 AM pages
Linux interview questions drawn from real 3 AM pages: disk full, runaway load, OOM kills. What strong answers sound like and how to grade the weak ones.
Linux DNS not resolving: resolv.conf and systemd-resolved
Linux DNS not resolving? Trace the real resolution path - nsswitch, /etc/hosts, resolv.conf, systemd-resolved's stub - and why dig works but curl fails.
How to practice Linux troubleshooting deliberately
Practice Linux troubleshooting the deliberate way: break-it-yourself drills, a skill ladder from beginner to on-call ready, and feedback loops that stick.
Address already in use: who owns this port?
bind: address already in use - find the process holding the port with ss and lsof, tell TIME_WAIT from a live listener, and fix it without rebooting.
systemd service won't start: a working checklist
A systemd service failed to start - the checklist that finds why: systemctl status, journalctl -xeu, exit code 203, ExecStart paths, deps, and limits.
Reading Linux OOM killer logs and preventing the next kill
The Linux OOM killer just ended your process. How to read the dmesg kill report, what oom_score means, and how cgroup limits stop the next kill.
High load average: what it measures and how to debug it
High load average on Linux doesn't always mean busy CPUs. What load really counts, how to split CPU from I/O wait, and a vmstat/pidstat/iostat path.
Disk full: find it, fix it, and the du/df mismatch
df says the disk is full but du can't find the files? A field guide to disk full errors on Linux: lsof +L1, deleted-but-open files, inodes, safe cleanup.