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.

Required fields*

3
  • that looks like a job for a watchdog timer of some kind Commented Apr 15 at 18:04
  • @jsotola I am not familiar with watchdog, but from what I have been able to find, it seems to have to do with resetting the system if some timer reaches X seconds, with the idea being that a working system would continuously reset the timer. If that is right, then I don't think it would help since I don't want my system to reboot, I just want to be able to control exactly what application I want to kill to restore my system to a working state. Right now I am able to restore it via oom_kill, but then I don't get to chose what process gets killed. For context, I am talking about Desktop Linux. Commented Apr 15 at 18:33
  • Rather than attempt thiis herculean programming task, I suggest adding swap space. man fallocate mkswap swapon will get you started. This sort of problem was solved back at the beginning of computing. Commented Apr 16 at 17:47