What is the OOM killer?

IntermediateConceptLinux and shell
Answer

The kernel mechanism that kills a process when memory is exhausted. It picks the victim by oom_score (memory use adjusted by oom_score_adj). Kills show up in dmesg -T | grep -i oom or journalctl -k.

All Real-World Interview questions Roadmap: Interview readiness

More on Linux and shell