this post was submitted on 11 Apr 2025
59 points (95.4% liked)

Linux

6930 readers
354 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of [email protected] and The GIMP

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 28 points 2 days ago (1 children)

As an admin, I prefer no swap on prod machines because I'd rather have the oom killer kill a process that will automatically be brought back up or replaced than grind everything to a crawl swapping. A dead process can be restarted. A swapped to death server can be challenging to even get into.

[–] [email protected] 16 points 2 days ago (1 children)

EarlyOOM is great for keeping systems responsive. I can't understand why the default memory management on many distros still seems to be "do everything possible to avoid automatic termination of processes even if that means the system becomes borderline unusable." It makes for a terrible user experience, and most users are just going to restart the machine when it happens rather than try to struggle through a slide show to manually kill whatever's causing the problem.

[–] [email protected] 0 points 18 hours ago

I couldn't agree more. If there only was a somewhat user-friendly setting that allowed the oom killer to be far more aggressive, killing or freezing processes as soon as their memory use starts to affect system responsiveness, and just tell me this is what has happened.