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.