this post was submitted on 23 May 2024
240 points (96.9% liked)

linuxmemes

20829 readers
895 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

Not exactly as funny meme as I would like it to be, but I just found out about that feature after having to hold the power button due to a frozen system countless times, and I had to tell someone.

you are viewing a single comment's thread
view the rest of the comments
[–] boredsquirrel@slrpnk.net 15 points 4 months ago* (last edited 4 months ago) (2 children)

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.

[–] mexicancartel@lemmy.dbzer0.com 13 points 4 months ago (1 children)

Because if i'm rendering on blender on my lower end PC with expected freezes but it auto kills the render?

[–] Brickardo@feddit.nl -5 points 4 months ago (2 children)
[–] mexicancartel@lemmy.dbzer0.com 9 points 4 months ago (2 children)

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

[–] boredsquirrel@slrpnk.net 1 points 4 months ago (1 children)

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

[–] mexicancartel@lemmy.dbzer0.com 3 points 4 months ago (1 children)

It makes system unresponsive, true. But its still running the main things, the render or decompressing or whatever. So it eventually unfreezes when it completes, by giving other programs(including GUI) back the CPU and ram.

[–] boredsquirrel@slrpnk.net 1 points 4 months ago (1 children)

Ok so killing is worse than just keeping alive.

This is a fair point.

I dont know a good solution for this, not killing but freezing is likely the best.

I dont know

[–] mexicancartel@lemmy.dbzer0.com 1 points 4 months ago

Preferences matter too. Some like their progrms to be killed. Some may want it to run anyway however possible

[–] Brickardo@feddit.nl -1 points 4 months ago (1 children)

Your usual pal won't be running Blender, they're going to be stumbling their way through LibreOffice and a browser. Massive echo chamber right there.

[–] Ptsf@lemmy.world 2 points 4 months ago

We do not break userspace in this household young man.

[–] MonkderDritte@feddit.de 5 points 4 months ago* (last edited 4 months ago)

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.