Sounds like a good idea if implemented properly, where processes to kill can be chosen. Kernel OOM is one of the most bonkers parts of Linux. Yes, I can see there are ways to disable it, or select some processes that shouldn't be killed, but it shouldn't be possible to get in that situation in the first place. The default should be to only kill processes that are identified as disposable, not select one at random.
As far as I'm aware, the OOM killer is also a hard kill, and what's really needed is something that will allow for an orderly process shutdown.
As far as I'm aware, the OOM killer is also a hard kill, and what's really needed is something that will allow for an orderly process shutdown.
Comment