Hacker GitHub

← All repos

rfjakob/earlyoom

View on GitHub ↗ ★ 4,378 C

earlyoom - Early OOM Daemon for Linux

39 mentions on Hacker News by 34 people: 2 stories, 37 comments · first 2016-12-01 · latest 2026-09-11

Mentions per year 39 mentions · busiest year 2019 (8)
20082026
  1. …before triggering an OOM kill. I recommend using the earlyoom if you want more aggresive oom kill: https://github.com/rfjakob/earlyoom The README contains a lot of interesting information.
  2. …too big. It has always killed the Python process or terminal program which did something silly. [0] https://github.com/rfjakob/earlyoom
  3. For OOM, there's earlyoom [1] and systemd-oomd [2]. They usually work out of the box [1]: https://github.com/rfjakob/earlyoom [2]: https://man.archlinux.org/man/systemd-oomd.8
  4. Install oomd or earlyoom. https://github.com/facebookincubator/oomd/ https://github.com/rfjakob/earlyoom
  5. …bustd is very lightweight & new. earlyoom has been around a long time, and has an --avoid flag. https://github.com/rfjakob/earlyoom?tab=readme-ov-file#prefe... Your concerns are very addressable.
    comment by jauntywundrkind · 2026-03-07 · in Modernizing swapping: virtual swap spaces
  6. I can recommend earlyoom ( https://github.com/rfjakob/earlyoom ). Instead of freezing or crashing your system this tool kills the memory eating process just in time (in this case duckdb). This allows you repeat with smaller chunks of the…
  7. …but for their POVs/concepts regarding the same problem: https://github.com/facebookincubator/oomd , https://github.com/rfjakob/earlyoom , https://github.com/hakavlad/nohang These, to maybe take inspiration from, to adjust dynamically:…
  8. …Not to sure about using it on chromebooks, but linux got quite a bit more usable because of it. [1] https://github.com/rfjakob/earlyoom
  9. …different I/O schedulers, but I haven't tried that yet. [1]: https://lwn.net/Articles/682582/ [2]: https://github.com/rfjakob/earlyoom
    comment by rozenglass · 2023-11-12 · in Fedora Workstation 39
  10. …settings (vm.overcommit, vm.admin_reserve_kbytes, etc). Or even deploy something like EarlyOOM ( https://github.com/rfjakob/earlyoom ). Or you might just need more RAM, honestly. Yeah. Exactly. But as the thread says, why aren't those…
    comment by jowea · 2023-10-09 · in Linux ate my RAM (2009)
  11. …settings (vm.overcommit, vm.admin_reserve_kbytes, etc). Or even deploy something like EarlyOOM ( https://github.com/rfjakob/earlyoom ). Or you might just need more RAM, honestly. I have always found Linux to behave far more gracefully than…
    comment by outworlder · 2023-10-09 · in Linux ate my RAM (2009)
  12. …supposed to prevent this AFAIK. You can though try some tools like EarlyOOM and see if it helps : https://github.com/rfjakob/earlyoom
    comment by SomeoneOnTheWeb · 2022-12-12 · in Linux Desktop Environments System Usage
  13. Use earlyoom: https://github.com/rfjakob/earlyoom .
    comment by moxvallix · 2022-10-02 · in Ask HN: What did Linux not do right?
  14. …around with 8GB RAM, upgrading that helped. Installing earlyoom[1] is another workaround. [1] https://github.com/rfjakob/earlyoom
    comment by kauguste281 · 2022-04-13 · in Playing with DALL-E 2
  15. …although I assume there's some kind of sysfs parameter that I might have tweaked instead. [1] https://github.com/rfjakob/earlyoom
    comment by 0xcde4c3db · 2021-12-23 · in Linux Ate My RAM
  16. …Back when I didn't have a ridiculous amount of RAM, I used this instead and was happy with it: https://github.com/rfjakob/earlyoom The boot thing you mention always seemed a very odd default to me. It doesn't happen to me any more on my…
    comment by thingification · 2021-11-12 · in Microsoft to Block Windows 11 Browser Workarounds
  17. …better tools at your disposal than ballast pages--cgroups and tunable oomkillers like earlyoom ( https://github.com/rfjakob/earlyoom ). On the other hand, if you are likely to be identified as the culprit, I think the best you can hope for…
  18. …[1] can at least save me from having a complete freeze. There are packages for most distros. [1] https://github.com/rfjakob/earlyoom
    comment by z991 · 2021-05-19 · in Improving Firefox stability on Linux
  19. …on servers. It logs to syslog but also can be configured to run a program on kill events. [1] https://github.com/rfjakob/earlyoom , https://launchpad.net/ubuntu/+source/earlyoom , https://packages.debian.org/search?keywords=earlyoom (Why…
  20. …unresponsive state. This can be prevented using earlyoom (which is packaged in most distros): https://github.com/rfjakob/earlyoom It's probably too difficult to fix the underlying design errors, e.g. fork() duplicating the process's entire…
  21. …do. I have yet to be patient enough to wait for it, sitting in front of an unresponsive system." https://github.com/rfjakob/earlyoom
  22. …anything more than a bandaide, but I have found earlyoom to be immensely useful in cases like that. https://github.com/rfjakob/earlyoom
  23. …is also annoying but less so than having to wait minutes until you can use your computer again. [0] https://github.com/rfjakob/earlyoom
  24. …Earlyoom is a user space OOM-killer that kicks in before the system starts the mad paging dance. https://github.com/rfjakob/earlyoom Packages are available in Debian Stable (Buster), so they should be available in most child distros by now…
  25. …for desktop use is some swap and low swappiness. One could imagine that perhaps something like https://github.com/rfjakob/earlyoom Might be an easier route to better behavior especially as you can more easily tell it what it ought to kill.…
  26. …before, but so far earlyoom has always managed to kill processes early enough to prevent this. [0] https://github.com/rfjakob/earlyoom
  27. https://github.com/rfjakob/earlyoom will help you. It will kill those processes for you.
  28. https://github.com/rfjakob/earlyoom has worked well for me in the past.
  29. …bookincubator/oomd/blob/master/README... and here's a less complicated, but similar proactive daemon: https://github.com/rfjakob/earlyoom/blob/master/README.md
    comment by pas · 2019-07-03 · in The Day “/Proc” Died
  30. Tip: I have the exact same setup, and I use earlyoom ( https://github.com/rfjakob/earlyoom ) to prevent this. Previously, I was frequently unable to break out of the freeze no matter how long I waited, forcing a hard reboot, but with…
  31. …keep the system responsive that I'm unaware of? What do you guys do for desktop/laptop systems? 1. https://github.com/rfjakob/earlyoom
  32. There's a userspace daemon that does that: https://github.com/rfjakob/earlyoom (I am the author)
    comment by rfjakob · 2018-01-14 · in In defence of swap: common misconceptions
  33. …lots of RAM, the kernel OOM killer waits far too late, and the system is already unresponsive. [1] https://github.com/rfjakob/earlyoom
  34. Use earlyoom: https://github.com/rfjakob/earlyoom By default, it'll start killing processes when free memory drops below 10%, though you can configure the threshold. I had the same problem for years, and then I started using earlyoom and I…
    comment by amyjess · 2017-02-23 · in Do we really need swap on modern systems?
  35. …render the system unresponsive a couple of times Use earlyoom instead of relying on oom-killer. https://github.com/rfjakob/earlyoom To quote from the description: > The oom-killer generally has a bad reputation among Linux users. This may…
    comment by amyjess · 2017-02-23 · in Do we really need swap on modern systems?
  36. …more usable. Systems should designed to fail fast when memory is low instead of slowing down. [0] https://github.com/rfjakob/earlyoom
    comment by amyjess · 2017-02-23 · in Do we really need swap on modern systems?
  37. …it happened because a powercycle was faster than waiting for the kernel to finish its tantrum. [0] https://github.com/rfjakob/earlyoom