Re:Swap, swap, swap, and bad places to work
by VectorLock on Friday August 09, 2019 @12:44PM
(#20656013)
I would like OOM killer to be smarter and maybe easier to configure. I'm glad you can instrument it better with BPF now, at least.
Note that the reason this topic is currently in vogue is that this has become a lot easier recently. If you run the system on a modern low-latency SSD, the current OOM killer algorithm often fails to kill anything before the entire system is on it's knees with approximately 0 pages left for IO and non-anonymous memory, at which point the OOM killer will never run because the machine is so thoroughly locked. The proper way to fix this of course is to make the OOM killer hit earlier.