| ▲ | rwmj 6 hours ago | ||||||||||||||||||||||||||||||||||
It's 2026 and I still can't configure the OOM killer to kill firefox before anything else. | |||||||||||||||||||||||||||||||||||
| ▲ | bellowsgulch 5 hours ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
I looked into this, and actually, it seems like maybe you can? https://man7.org/linux/man-pages/man5/proc_pid_oom_score_adj... So, in actuality, I think your assertion just taught us all something, because despite knowing that the OOM killer and that the Magic SysRq key[1] exists, I didn't know you could configure this as an input! | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| ▲ | SoftTalker 5 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
I always wanted it to target java processes, as they were always the culprit. These days it's python, VSCode, and antigravity. | |||||||||||||||||||||||||||||||||||
| ▲ | dvh 6 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
This. It's always browser running amok. I configured win+k shortcut key to: killall -9 chrome | |||||||||||||||||||||||||||||||||||
| ▲ | yjftsjthsd-h 4 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
Maybe not in kernel, but running the earlyoom daemon will let you do exactly that in userspace. | |||||||||||||||||||||||||||||||||||
| ▲ | IsTom 5 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
It's not a panacea, but in my case setting browser.tabs.unloadOnLowMemory in about:config helped a bunch. | |||||||||||||||||||||||||||||||||||
| ▲ | 5 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
| [deleted] | |||||||||||||||||||||||||||||||||||