News for hackers. Stuff that matters.
Re:I've now disabled systemd-oomd on my Fedora desktops by isityouyesitsme on Thursday December 08, 2022 @10:01AM (#33908531)
I missed one question.

I don't understand why you believe that forcing the process that is requesting the allocation to deal with it is the best thing generally. From a systems perspective, it is actually worse because there's a stronger chance you're killing a nice, stable process that might be critical simply because it lost the lottery.

The OOM killer strategy is to try to reap short lived processes that allocated a lot. From a systems perspective, this is clearly better... though as I said it might be better if you could more easily modify the OOM heuristic.

Re:I've now disabled systemd-oomd on my Fedora desktops by AnIdiotOnTheNet on Friday December 09, 2022 @03:29PM (#33926108)
> I don't understand why you believe that forcing the process that is requesting the allocation to deal with it is the best thing generally.

Because it is in the best position to understand the consequences of failure and the options for dealing with it.

> From a systems perspective, it is actually worse because there's a stronger chance you're killing a nice, stable process that might be critical simply because it lost the lottery.

If the process is truly critical, it should be designed to stay stable in the event it can't allocate memory.