Linux interview question

A server keeps running out of memory and the kernel kills processes. How do you investigate?

Scenario Asked in DevOps Engineer · Site Reliability Engineer (SRE) interviews

Members can save this page, take notes and track progress. See membership · Sign in

Summary

Confirm it's the OOM killer (dmesg -T | grep -i oom, journalctl -k), see which process was killed and which was using memory, then decide whether it's a leak, a genuine increase in load, or limits set too low. Watch memory over time rather than at one moment.

Keep reading with a membership

The full answer with examples, key points and comparisons is part of the membership, along with every other interview answer, progress tracking and Daily Review. Most-asked answers stay free to read.

See plans and free trial Already a member? Sign in

More Linux questions

← All Linux questions

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake