There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

toynbee ,

Raising Skinny Elephants Is Utterly Boring … Or so I’ve heard.

stepan OP ,

That restarts the system. This only attempts to kill the app that uses most memory.

CraigeryTheKid ,

ok… I’ll ask… where the heck is the “sysreq” key on my standard keyboard?

julianh ,

Should be the screenshot key

CraigeryTheKid ,

so it is! and I tested it, of course, with alt-sys-b which instantly rebooted my machine. nice.

Midnight1938 ,

Prt sc one? Print screen?

julianh ,

Yeah, on my keyboard it’s just an icon so I forgot the actual name lol

CarlosCheddar ,

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.

stepan OP ,

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.

lurch ,

those debian daredevils like the thrill of living on the edge

eager_eagle ,
@eager_eagle@lemmy.world avatar

Related and IMO a much better option for Linux desktops:

Early OOM

boredsquirrel ,

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 ,

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

Brickardo ,

Sounds like niche use cases

mexicancartel ,

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 ,

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 ,

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 ,

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 ,

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

Brickardo ,

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 ,

We do not break userspace in this household young man.

MonkderDritte ,

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.

marcos ,

Just decrease your swap space.

Unless you have an unusual system, there’s no reason to have several GB of swap.

eager_eagle ,
@eager_eagle@lemmy.world avatar

that won’t solve the system unresponsiveness

marcos ,

Have you tried?

Because it does.

eager_eagle ,
@eager_eagle@lemmy.world avatar

yes, even turning swap off entirely doesn’t solve it. It doesn’t take much to find people reporting a similar experience.

MonkderDritte ,

Better enable swap again. Linux expects swap.

vox ,
@vox@sopuli.xyz avatar

or fiddle with the vm/swappiness value

barsquid ,

Is hibernate no longer a thing? I thought that needed swap.

marcos ,

Actually, not much.

It always had reliability issues with bad hardware, and computers boot incredibly quickly nowadays. But yeah, it requires swap, and if you want it, there’s a sibling answer here about sawppiness.

dan ,
@dan@upvote.au avatar

Is this better than oomd?

MonkderDritte , (edited )

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • lifeLocal
  • goranko
  • All magazines