brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: run Memtest86+ from the Unraid boot menu when the server crashes at random

Unraid
~/tips/tip-unraid-memtest-boot-menu

Memtest86+

Rule out bad RAM as the cause of random crashes and corruption.

Random freezes, containers that fall over for no reason, a parity check that fails out of nowhere. Before I’d blame Docker or a plugin, I’d rule out the RAM, because the docs call memory problems among the most common causes of instability and data corruption.

The nice part is that you don’t need to download anything. Memtest86+ ships with Unraid and works on both Legacy and UEFI systems. Restart the server and pick it from the boot menu:

Memtest86+

Then let it run. The docs ask for at least 2 to 4 hours for thorough coverage, and you watch for error messages or failed tests. The symptoms they list are worth a look too: unexplained crashes or freezes, corrupted files, random application errors, instability under load and failed parity checks.

If Memtest86+ does show errors, the docs’ advice is to reseat the modules and run it again. If the errors stay, test each stick on its own to find the bad one. They also suggest not mixing RAM brands or speeds and checking your motherboard documentation for supported speeds.

An example: a server with two sticks that freezes every few days. I’d run the full test overnight with both installed, and if it finds anything, repeat it with one stick at a time.

The caveat is that the server is offline for the whole test, so all of Jellyfin, Home Assistant and the rest go down with it. Plan it for a night when nobody in the house needs anything.

Further reading: Unraid docs: System crashes & stability

More Unraid tips Change the RAID profile of a Unraid BTRFS pool with Balance Replace a disk in a redundant Unraid pool from the Main tab Test every Unraid drive with the DiskSpeed container See the XML behind a VM with the inline XML view in Unraid 7 Choose where a new VM's disk image is created with Unraid's storage override All Unraid tips (77) All topics

Link