Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    Best way to fix it is that kernel developpers do something to force the kernel to stay in RAM whatever happens. That, or even forcing everything that was in RAM when you've just booted to the desktop, to the RAM at all times. We do have early-oom and systemd-oomd, but you can still easily get a system freeze since it's based on how much percent of RAM is left (we can still OOM with only 70% of your RAM used, or even less) instead of killing the biggest non-system process that starts to trash I/O because Linux still really can't calculate the real amount of unreclaimable cache/buffers.
    – X.LINK
    Commented Jan 22, 2021 at 0:33
  • Tested, it works nicely. github.com/rfjakob/earlyoom/issues/242#issuecomment-781903731
    – ceremcem
    Commented Feb 19, 2021 at 8:38
  • Project repo github.com/rfjakob/earlyoom
    – qwr
    Commented Mar 30, 2022 at 22:51