Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Server Hard freezes and corrupt docker images UNRAID 6.12.2

Featured Replies

I've tried everything I could think of but I can't figure it out.

In random intervals either docker just stops working and containers refuse to launch or the server freezes completely this can happen multiple times a day sometimes its just individual containers but the rest usually follow shortly. These issues started happening after an upgrade

 

Things that changed

went from 3 array disks and 2 SSDs to 6 array disks with 2 SSDs

added PSU SATA power splitter cables and obviously SATA data for the new drives

Changed the case (didn't take off the cooler nor the RAM)

installed the appdata backup plugin (particularly after this I started seeing this behavior) 

before this I also didn't have a parity disk

 

 

What I tried

one of the drives was throwing reading errors so I unplugged it. bad SMART status because its old

my NVME SSD (crucial P3) with cache and docker was also throwing read errors and systemlog said something about corrupt data 

I put docker on a different disk didn't help

So I replaced the SSD with 2 new ones in mirror ZFS (970 evo plus 1TB) it seemed to happen less often after this

I deleted my docker.img and reinstalled my docker containers multiple times via the "previous apps tab" even tried XFS docker.img once

I deleted non essential files for some of my docker appdata folder

I turned off XMP

ran prime 95 for 30~ min
ran a quick memtest 15~ min (I know I should have ran this longer)

Reinstalled UNRAID on my USB and moved only the config back

 

 

Other Info

I have multiple days of syslog's and diagnostics in case that's useful I've attached the most recent ones but can upload all of them

 

Server is plugged into a smart power plug for power usage measurements 

My CPU's box was opened when I received it

MOBO: Asrock B660m Legend Steel

CPU: i5 13500

RAM: Mixed ram kit 24GB :) 2x 8GB (from old gaming PC) 2x4GB (from office PC)

PSU: Seasonic S12III 500W

Case: Antec P101 Silent

 

 

 

 

 

 

Hope someone can help me as I don't know what to do anymore

Log Before replacing SSD2.png

Log Before replacing SSD.png

Log after replacing SSD.png

naskingdom-diagnostics-20230713-1845.zip naskingdom-syslog-20230713-1645.zip

Edited by MayaYa

Solved by JorgeB

  • Community Expert

Start by running memtest for at least a couple of hours, if nothing is found enable the syslog server and post that after a crash.

  • Author
1 minute ago, JorgeB said:

Start by running memtest for at least a couple of hours, if nothing is found enable the syslog server and post that after a crash.

will do thanks for the reply!

  • Author

Docker broke again yesterday and the system refused to shutdown. After that I ran MemTest for the longest possible duration and no errors found. Booting up the system first the disks refused to mount. After reboot that works again but my docker image is corrupt and 2 of my cores are also pinned at 100% usage 

MemTest86-20230714-232052.log syslog.txt

  • Community Expert
Jul 14 23:31:10 NASkingdom kernel: macvlan_broadcast+0x10a/0x150 [macvlan]
Jul 14 23:31:10 NASkingdom kernel: ? _raw_spin_unlock+0x14/0x29
Jul 14 23:31:10 NASkingdom kernel: macvlan_process_broadcast+0xbc/0x12f [macvlan]

Macvlan call traces are usually the result of having dockers with a custom IP address and will end up crashing the server, switching to ipvlan should fix it (Settings -> Docker Settings -> Docker custom network type -> ipvlan (advanced view must be enabled, top right)), after doing this reboot and post new diagnostics after array start.

 

  • Author
32 minutes ago, JorgeB said:
Jul 14 23:31:10 NASkingdom kernel: macvlan_broadcast+0x10a/0x150 [macvlan]
Jul 14 23:31:10 NASkingdom kernel: ? _raw_spin_unlock+0x14/0x29
Jul 14 23:31:10 NASkingdom kernel: macvlan_process_broadcast+0xbc/0x12f [macvlan]

Macvlan call traces are usually the result of having dockers with a custom IP address and will end up crashing the server, switching to ipvlan should fix it (Settings -> Docker Settings -> Docker custom network type -> ipvlan (advanced view must be enabled, top right)), after doing this reboot and post new diagnostics after array start.

 

Done, I tried it once before after running the "common problems" plugin but it broke connectivity for some containers so I reverted it. But its enabled now

syslog after reboot.txt

  • Community Expert

Docker looks OK for now, if more issues post the complete diagnostics instead, not just the syslog.

  • Author
10 hours ago, JorgeB said:

Docker looks OK for now, if more issues post the complete diagnostics instead, not just the syslog.

So after changing MACVLAN to IPVLAN all my containers lost connection to the router (ISP provided one) I could access them from my computer but they could not talk to the internet. So I followed This guide by bonienl on how to fix that and added a second NIC (USB one for testing) it seems to have gotten rid of the MACVLAN errors but docker still crashed and the server got unresponsive It didn't crash completely as I could still access the console on the physical machine. 

 

 

 

Edit: disks aren't mounting anymore even after reboot
edit2: It seems to be my SSD's they are formatted with ZFS whole system locks up after trying to mount them

syslog1600.txt naskingdom-diagnostics-20230715-1628.zip

Edited by MayaYa
addition

  • Community Expert
  • Solution
Jul 15 16:25:46 NASkingdom emhttpd: status: One or more devices has experienced an error resulting in data
Jul 15 16:25:46 NASkingdom emhttpd:  corruption.  Applications may be affected.

Your pool has corrupt data, since it's also crashing on import you can try importing the pool read-only then backup and re-create, unassign the pool, start the array and type:

 

zpool import -o readonly=on starlight

 

If it works copy what you can somewhere else, the corrupt files will fail to copy, you can get a list with:

 

zpool status -v starlight

 

Also a good idea to run memtest.

  • Author
8 hours ago, JorgeB said:
Jul 15 16:25:46 NASkingdom emhttpd: status: One or more devices has experienced an error resulting in data
Jul 15 16:25:46 NASkingdom emhttpd:  corruption.  Applications may be affected.

Your pool has corrupt data, since it's also crashing on import you can try importing the pool read-only then backup and re-create, unassign the pool, start the array and type:

 

zpool import -o readonly=on starlight

 

If it works copy what you can somewhere else, the corrupt files will fail to copy, you can get a list with:

 

zpool status -v starlight

 

Also a good idea to run memtest.

 

Thanks for all the help so far Jorge

 

Mounting it as read-only worked and I am now copying the data but instead of running another memtest I'll prob switch out the ram with the kit from my gaming pc and see if that solves the issue and reformat the drives again.

right now I put the docker stuff on a SATA SSD temporarily and so far that has been stable I wonder if its something with my board instead

  • 2 weeks later...
  • Author

All my issues disappeared when I replaced the RAM weird that it become unstable after upgrading the drives but oh well 

and thanks again for all the help Jorge!

Edited by MayaYa

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.