Diagnose a Linux OOM kill
Use kernel logs, cgroup memory counters, and process evidence to distinguish a machine-wide out-of-memory event from a service limit.
5 min read
Topic
13 articles
Kernel interfaces, system calls, and core Linux behavior.
Use kernel logs, cgroup memory counters, and process evidence to distinguish a machine-wide out-of-memory event from a service limit.
5 min read
Resolve a process into the cgroup v2 hierarchy, then read CPU, memory, event, pressure, and effective CPU controls without changing them.
5 min read
Read file and process capabilities, decode their bitmasks, and understand why a service can perform privileged work without running as full root.
5 min read
Read a running process's initial environment from procfs, handle its null separators correctly, and avoid leaking secrets into terminals and tickets.
5 min read
Inspect a running process's soft and hard limits, compare them with the launching shell or service, and reproduce a limit in a disposable child.
5 min read
Map a process's descriptor numbers to files, pipes, and sockets, then read fdinfo without consuming data or confusing a descriptor with a path.
7 min read
On 31 August, Kernel.org listed Linux 7.2 as mainline and 7.2.2 plus 7.1.12 as stable; learn what those lanes mean before changing a distribution kernel.
9 min read
Signals request process actions; a safe lab shows SIGTERM running cleanup with exit 0 while SIGKILL bypasses handlers and yields status 137.
10 min read
Namespaces change what processes can see; cgroups account for and limit resources. Inspect both without pretending a container is a tiny VM.
11 min read
Read Linux load average as a queue signal, separate runnable work from uninterruptible waits, and pair the three familiar numbers with CPU count and PSI.
15 min read
Follow ls -la from a terminal keystroke through shell parsing, command lookup, process replacement, filesystem calls, and pixels on screen.
13 min read
Replace the punctuation model of `|` with connected processes, file descriptors, bounded kernel buffers, and backpressure.
14 min read