Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by augusto-moura

21 hours ago

Have you tried setting up systemd-oomd [1]? It works by killing the offending process (hopefully) before a true OOM.

When I run in a frozen system because of RAM, I'm a happy user of the Magic SysRq 'f' [2], it bypasses most kernel scheduling so it works even on frozen systems

[1]: https://man.archlinux.org/man/systemd-oomd.8

[2]: https://en.wikipedia.org/wiki/Magic_SysRq_key

0 comments

augusto-moura

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities