6 ms·
or use the system's oom ?
by nicman23 6d ago
or use the system's oom ?
- joshAg 6d agoThat's what's breaking the system and causing freezes. You can tune it a bit to minimize when it happens, but not get rid of the issue entirely.
- SoftTalker 6d ago... which then kills sshd, locking you out of being able to get in and do any recovery.
- nicman23 6d agothe system will restart sshd?
- joshAg 6d agothe system will kill whatever it damn well pleases. You can tune it with priorities to ask it to try to not kill that, and once it kills your sshd once, you'll probably configure it to exempt sshd from being OOM killed at all. That doesn't fix the memory pressure or hanging or stalling, but you'll at least be able to log into the box still instead of dragging out a serial cable.
- nicman23 4d agoare you using systemd or some other init ?
- rwmj 6d agoAll I want is the oomkiller to always kill firefox. Somehow that's very difficult to achieve.
- lokar 6d agoThe oom killer is a monkey with a gun. It’s a last resort when you were going to crash (or worse, hang) anyway. You should have a much better “plan A” to avoid this situation.