OOM Kill Forensics
Reconstruct a silent overnight OOM kill and protect the service permanently.
A advanced Linux challenge worth 20 points. Solve it hands-on in a real Linux environment in your browser - no local setup, no fake shells.
The Challenge
A production Java service was found dead at 06:00. No alert fired. The OOM killer killed it silently. Prove it, identify the cause, and protect the service.
Your tasks:
- Find the kill event in OOM log: cat /var/log/oom_events.log
- Check oom_score of the current service process: cat /proc/$(pgrep java-service)/oom_score
- Protect the service by writing OOMScoreAdjust=-500 to /etc/oom_protect.conf
- Verify: cat /proc/$(pgrep java-service)/oom_score_adj
- Write the oom_score before and after to /tmp/oom_report.txt
- Run check to validate