• ProgrammingSocks
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    You could try enabling systemd-oomd. It’s a userspace OOM killer and seems to be aggressive enough to mostly stop that from happening.

    • blind3rdeye@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      1 day ago

      I’m not sure what you mean. Stop my computer from hanging like that? Or make it so that SIGTERM and SIGKILL work with those magic keys? I don’t know what an OOM killer is.

      I’d definitely be interested in something that stopped the computer from crashing. But I kind of doubt that’s going to happen; because as I said, I’m pretty sure it’s a hardware thing. (But I suppose appropriate software might allow it to successful recover from the problem without having to restart.) It’s pretty rare by the way. I use the computer almost every day, and I haven’t had this problem happen for a few weeks. I’ve basically given up trying to fix it.

      • ProgrammingSocks
        link
        fedilink
        arrow-up
        1
        ·
        22 hours ago

        Yeah the hanging is being caused by your RAM being filled. Systemd-oomd will kill things more aggressively than the kernel out-of-memory handler that should stop it from locking up.

        • blind3rdeye@lemm.ee
          link
          fedilink
          arrow-up
          2
          ·
          21 hours ago

          Alright, then that sounds like its definitely worth trying. Thanks for the suggestion. I guess it will be hard for me to tell whether or not it is working, because in the ideal case: nothing happens. But I’ll definitely try it out and hope for the best.