this post was submitted on 03 Nov 2023
1204 points (97.6% liked)
Programmer Humor
32410 readers
313 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Random computer quirks always fascinate me. The strangest one I had involved a computer that shouldn't have existed.
One time in the early aughts I had a patchwork computer that I put together from the junk pile of a local computer store that a buddy of mine ran.
It was barely holding together in a rusty frame, with zip ties and wood glue.
Its modem was temperamental as hell. It would only stay online so long as it was pinging a website via command prompt. It was only some websites, too. Like I could ping Geocities, but not livejournel.
I remember many weekends doing Mephisto runs in Diablo II, praying that my command prompt doesn't bug out anytime I'd get anything worthwhile.
I have a personal server, mostly acting as a NAS but with some web hosting as well. For whatever reason, it randomly freezes until you manually power cycle it, it happens really often, like every 20 minutes.
Turns out it's due to some weird interaction between debian and older ryzen CPUs, if the CPU isn't busy it just dies. Solution? A Minecraft server, with no one on it, it keeps the CPU just busy enough to keep it alive. I've had it running for months at a time with no issues.
Go into grub and set intel_idle.max_cstate=1 if you want it to be elegant. Had the same problem. AMD didn't implement proper sleep states. There's an open PR ranting about interconnect issues somewhere if I can find it.
Cheers, I'll give it a go, though I suspect I've already done it. I believe I've read the rant you're talking about too
You might've just opened my eyes about an issue I've been having with my ryzen server! I've been using it to host a discord bot, and every now and then it has to be manually restarted (which is a hassle for me since it's over 40 miles away from my house) so I'll definitely be trying this, or the Minecraft server solution lol
Just post the external IP of your Minecraft server. We'll help keep your system awake