Related and IMO a much better option for Linux desktops:
This is great! Why doesnt distros use this by default???
Just put plasmashell and a few in there and you will have a working oom killer. Finally.
I will install this the first thing tomorrow
Wait... Fedora has this since quite a while, strange.
Because if i'm rendering on blender on my lower end PC with expected freezes but it auto kills the render?
Sounds like niche use cases
Not niche there can be times when you want to run something heavy and it auto kills the exact thing you are trying to run. You have a 1gb ram device and it kills everything? Thats undesirable
Hm.... the process itself should not take that much RAM. I dont know if normally the OS should assign the max RAM to the program.
But this should not happen and I wonder how "just letting it freeze" works
We do not break userspace in this household young man.
Why doesnt distros use this by default???
Nohang has some explanations to this.
I.e. kernel devs are ignorant to the issue of oomkiller not working as intended on desktop.
Edit: Lkml is down.
Just decrease your swap space.
Unless you have an unusual system, there's no reason to have several GB of swap.
that won't solve the system unresponsiveness
Have you tried?
Because it does.
yes, even turning swap off entirely doesn't solve it. It doesn't take much to find people reporting a similar experience.
Better enable swap again. Linux expects swap.
or fiddle with the vm/swappiness value
Is this better than oomd?
Wasn't oomd the facebook thing for complicated server setups?
edit: yeah, for large data centers. Imho overengineered for single user desktop sessions. Earlyoom is simple and tiny.
ok... I'll ask.. where the heck is the "sysreq" key on my standard keyboard?
Should be the screenshot key
so it is! and I tested it, of course, with alt-sys-b which instantly rebooted my machine. nice.
How come sysreq + f is not on by default? After discovering and enabling it I haven’t had to hard restart due to hangs or crashes.
Debian has it by default I think. Arch has it disabled because it might be a security risk if someone had physical access to your computer.
those debian daredevils like the thrill of living on the edge
Raising Skinny Elephants Is Utterly Boring ... Or so I've heard.
linuxmemes
Hint: :q!
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!