News for hackers. Stuff that matters.
Re:The Day “/Proc” Died by AnIdiotOnTheNet on Tuesday July 02, 2019 @10:47PM (#20341200)
The OOM killer is a terrible hack that no self respecting system should have ever employed.
Re:The Day “/Proc” Died by olliej on Tuesday July 02, 2019 @11:49PM (#20341451)
The OOM killer is a “solution” to a very real, and sensible design choice: not committing physical memory and swap whenever address space is mapped - there are very good (and noticeable) reasons for not eagerly committing, but fundamentally if you have done so you have to decide what to do when you end up needing more physical space than is available.

Linux went down the “if a process is trying to do this, it must be important so I’ll prioritise it and kill something else”, and alternative is to kill that process when the commit fails.

Either is a valid option, the OOM killer ran against a regular desktop user’s idea of what is the correct course of action, but for a server it might not have been.

Re:The Day “/Proc” Died by pjmlp on Wednesday July 03, 2019 @07:23AM (#20343289)
Problem is that something else might be actually performing a critical task.
Re:The Day “/Proc” Died by olliej on Wednesday July 03, 2019 @01:27PM (#20346451)
The assumption being made is that the app going mad for memory is the critical one. Something has to die, and deciding which is hard.