Advanced
Linux & Shell Scripting
Q81 / 100
How does the Linux kernel's "Out-Of-Memory (OOM) killer" decide which process to terminate when the system runs critically low on memory?
Correct! Well done.
Incorrect.
The correct answer is A) The OOM killer calculates a "badness" score for each process, influenced by memory usage and the "oom_score_adj" value, then terminates the highest-scoring process to free memory while minimizing overall damage
A
Correct Answer
The OOM killer calculates a "badness" score for each process, influenced by memory usage and the "oom_score_adj" value, then terminates the highest-scoring process to free memory while minimizing overall damage
Explanation
The OOM killer uses heuristics (a "badness" score based on memory consumption, runtime, and adjustable "oom_score_adj" values) to select a victim process when memory is critically low, aiming to reclaim memory while limiting the impact on the system.
Progress
81/100