Ready, Aim, Kill. The Linux hitman that decides what to kill. But is it a dud?


Here is another, more accurate analogy. Linux kernel’s OOM killer is like a firefighter who shows up after the house is already ashes. I am pretty sure it kills something, but your screen is already grey, system is frozen, and those Ctrl+ALT+Del panic smashing is fruitless.


Findings

How does the linux kernel choose it’s target to kill? Let me quote the original kernel method doc for out_of_memory()

[!cite] Kernal Doc

If we run out of memory, we have the choice between either killing a random task (bad), letting the system crash (worse) OR try to be smart about which pro…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help