2 ms·
Depends on your configuration/distro. OOM killers aren't really used on the desktop because swap makes more sense, but you can certainly add one if you're using
by smoldesu 4y ago
Depends on your configuration/distro. OOM killers aren't really used on the desktop because swap makes more sense, but you can certainly add one if you're using a resource-constrained machine.
- yakubin 4y agoOOM killer is a pseudosolution to an artificially created problem. https://lwn.net/Articles/104185/ https://lwn.net/Articles/104185/
- smoldesu 4y agoThen don't use it. Most distributors don't enable it by default for a reason.
- yakubin 4y agoYes, but that still leaves the problem, which shouldn’t exist in the first place (edit: and on Windows doesn’t).
- quotemstr 4y ago> Most distributors don't enable it by default for a reason. Every Linux system configured for overcommit (every major distribution out of the box) will invoke the kernel OOM killer upon demand. There is no such thing as distributions not "enabling" this thing. You're talking about things like systemd-oomd, which act as a layer on top of the kernel OOM killer.