Context: this is a legit screenshot I took on my workplace around 1.5 years ago. Hopefully it’s been patched by now? Completely ridiculous behavior

MüThyme
link
fedilink
351Y

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.

R0cket_M00se
link
fedilink
English
51Y

That’s amazing.

Tavi
link
fedilink
English
421Y

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.

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

MüThyme
link
fedilink
51Y

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

Create a post

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.
  • 1 user online
  • 54 users / day
  • 172 users / week
  • 445 users / month
  • 2.42K users / 6 months
  • 1 subscriber
  • 1.61K Posts
  • 35.6K Comments
  • Modlog