Oom Kill Forensics

Work out why the Linux kernel OOM killer fired and what to change: read the kernel's own report, not top (journalctl -k gives constraint= such as CONSTRAINT_MEMCG for a cgroup limit versus system-wide exhaustion, the victim's oom_score_adj and the task table with RSS), classify cgroup limit versus host exhaustion with memory.max and memory.events, account for RAM with MemAvailable, shmem, slab and PSS rather than free, then decide if the victim was the hog or just the largest. Covers oom_score_adj, OOMPolicy, swap or zram for spikes, systemd-oomd and earlyoom; lower demand before raising the limit. Use for "killed, no error in the app log", "Out of memory: Killed process", "database keeps getting killed" or "memory 95% used". Not for OOMKilled pods (k8s-triage), finding the allocation in code (profiling), sizing ahead (capacity-planning) or fd and pid limits (resource-limit-exhaustion).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 33c7b0ad3c

Frequently asked questions

npx get-skill add greenblacked/oom-kill-forensics