Quote:
Originally Posted by
zaxxon
I think you misunderstood corona.
When a Linux box runs out of memory it starts killing processes (I think randomly) to free memory.
Checking the source, it's got a complex scoring system to measure a process' "badness". It preferentially kills:
- Things with lots of memory.
- Things with lots of children(forkbombs).
- Things with very high total CPU time, i.e. endless allocation loops.
- Low-priority and/or non-root things (since they're presumably less important).
- Above all else, swapoff. duh.
But it can only measure the stats, and gauges what's safe to kill as much as what should be killed.
This doesn't rule out emacs, either! It might have been killed because it was consuming too much memory. Or it might have been killed to make way for a runaway process that had higher priority or access privileges than it, which the OOM killer preferentially keeps.