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

Linux

6930 readers
330 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] 9 points 1 day ago (6 children)

I was forced to enable swap because it I run out of RAM without swap then 95% of the time my laptop hard reboots. Adding a ton of swap fixed it.

My next issue is that sometimes it just hard-freezes. Zero warning, under no load, I can't even move the mouse. Linux on the desktop!

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

Can you upgrade the ram? Ram is cheaper than it was

[–] [email protected] 1 points 13 hours ago (1 children)

Yeah that was the first thing I did - 16 to 32GB but apparently the hardware doesn't support more. At least that's what the IT guys told me and it isn't worth fighting them.

Seems a bit shit of the hardware to me. I bought a second hand desktop for very cheap and it came with 128GB which seems like a more reasonable amount for a professional programmer...

[–] [email protected] 1 points 12 hours ago* (last edited 12 hours ago)

16GB should be fine for just about anything. It is fine in 8GB and you probably can get away with 4GB. You need to check what is using up all the ram as there is a serious problem somewhere.

I've only really seen 64+ on servers since that's a bit insane for desktop use. 128GB is what you use for ZFS file servers and stuff like that.

Can you post your specs? Also I would double check that you didn't mismatch memory timings. You can mix brands as long as the speed and pattern are the same. It sounds a lot like a much bigger issue.

[–] [email protected] 1 points 1 day ago* (last edited 1 day ago) (1 children)

My next issue is that sometimes it just hard-freezes. Zero warning, under no load, I can't even move the mouse. Linux on the desktop

You may want to consider fixing the system cache value.

https://lkml.org/lkml/2013/10/25/39

I use lower values than Linus suggested.

[–] [email protected] 1 points 13 hours ago

I don't see why that would cause lock ups? I'm pretty sure it's just a driver bug. Didn't used to do it but I upgraded the kernel recently and then it started.

Interesting thread anyway - do you know if they ever fixed the defaults?

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

I added a userland OOM and now my browsers or slack dissapears and I'm confused for 5-10 secunds every time. sometimes my editor or one of the lsp servers.

cspell also leaks like crazy

[–] [email protected] 1 points 1 day ago

Oh how do I do this? Can you choose what processes it kills first even if they're not the worst offenders?

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

I've had Fedora lock up on me a few times over the years, eventually some update fixes something pretty quick and it stops doing it. Tbf, I've had windows freeze on me far more all the way from '98 to XP to Vista to 8.1 to 10, I kinda just figured it happens sometimes.

[–] [email protected] 1 points 1 day ago (1 children)

Nah this is like once a week. Windows (post XP) crashes on me maybe once a year. It's much more stable than desktop Linux in my experience.

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

It's been maybe once a year with Fedora (except that time it was three days before the update that fixed whatever the issue was, but then it was like three times and I pretty much count it as the same "incident"). Wish I could help, but short of knowing why all I have is "well that sucks bro." Maybe looking into your logs when it happens will help identify a specific problem that can be fixed, if you care to do so. If you like windows though just stick to windows, whatever.

[–] [email protected] 1 points 13 hours ago

Yeah unfortunately I have to use Linux for work. I have considered WSL but... I dunno even with its many bugs I think WSL is probably worse. I have no idea how you get X apps working under it for example.

[–] [email protected] 1 points 1 day ago

I had this issue with System 76 with Ubuntu (for work). It was infuriating.

[–] [email protected] 1 points 1 day ago (1 children)
[–] [email protected] 1 points 1 day ago

Some Dell/Intel business laptop. Nothing exotic.