1203
Totally logical and expected functionality
(sopuli.xyz)
Post funny things about programming here! (Or just rant about your favourite programming language.)
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
That's amazing.