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.

Unclean shutdown on 6.12.13 and can't understand why

Featured Replies

I can't figure out why my server randomly rebooted on it's own. Was working great for 30+ days without restarting and bam... today all of a sudden this just happened. I've attached the syslog for someone to hopefully help me figure out why it did. Any advice or suggestions would be great and help understanding what's going on!

syslog-192.168.1.154 (1).log

  • Community Expert

The syslog file contains various entries, but none specifically show a kernel panic, hardware failure, or explicit cause for a reboot yet. However, here are some steps and insights to further diagnose the issue:

 

Key Observations from Logs

BTRFS Activity:

Logs indicate BTRFS activity on /dev/loop2. BTRFS errors or corruption can cause instability in the system.

Check if your BTRFS volumes are health

btrfs scrub start /dev/loop2
btrfs scrub status /dev/loop2

 

Look for disk errors in the syslog or via SMART tests.

 

Docker Activity:

Several Docker network changes are logged, such as bridging states and interfaces coming online. While this is normal, it may suggest excessive activity or instability from Docker containers that might contribute to the reboot.

Check Docker container resource usage to see if one container caused the crash:

docker stats

 

No Explicit Kernel Panic or Shutdown Logs:

A lack of shutdown or panic logs suggests the system may have lost power, reset abruptly, or encountered a hardware issue. This could be caused by:

Power supply issues.

CPU overheating or thermal throttling.

RAM errors.

Motherboard or BIOS/UEFI configuration glitches.

 

Reboot at grub run Mem test.

Suggested Next Steps

Review Docker and Disk Usage: Check if excessive load or misconfiguration in Docker containers (especially those related to BTRFS or the network) caused the reboot.

Monitor for Recurrence: If this is a one-off event, it might have been an anomaly. However, repeat occurrences may indicate deeper hardware or software issues.

Post Additional Logs: If the issue persists, share more detailed logs (e.g., dmesg and SMART data).

 

Please post diag....

  • Author
7 hours ago, bmartino1 said:

The syslog file contains various entries, but none specifically show a kernel panic, hardware failure, or explicit cause for a reboot yet. However, here are some steps and insights to further diagnose the issue:

 

Key Observations from Logs

BTRFS Activity:

Logs indicate BTRFS activity on /dev/loop2. BTRFS errors or corruption can cause instability in the system.

Check if your BTRFS volumes are health

btrfs scrub start /dev/loop2
btrfs scrub status /dev/loop2

 

Look for disk errors in the syslog or via SMART tests.

 

Docker Activity:

Several Docker network changes are logged, such as bridging states and interfaces coming online. While this is normal, it may suggest excessive activity or instability from Docker containers that might contribute to the reboot.

Check Docker container resource usage to see if one container caused the crash:

docker stats

 

No Explicit Kernel Panic or Shutdown Logs:

A lack of shutdown or panic logs suggests the system may have lost power, reset abruptly, or encountered a hardware issue. This could be caused by:

Power supply issues.

CPU overheating or thermal throttling.

RAM errors.

Motherboard or BIOS/UEFI configuration glitches.

 

Reboot at grub run Mem test.

Suggested Next Steps

Review Docker and Disk Usage: Check if excessive load or misconfiguration in Docker containers (especially those related to BTRFS or the network) caused the reboot.

Monitor for Recurrence: If this is a one-off event, it might have been an anomaly. However, repeat occurrences may indicate deeper hardware or software issues.

Post Additional Logs: If the issue persists, share more detailed logs (e.g., dmesg and SMART data).

 

Please post diag....

Thank you for the well thought out response and all of the information. 

 

I've attached the diagnostics like you requested and going to start doing some of the other tests now too. Not sure if the diagnostics will show anything more, but thanks again for taking the time to respond. 

maverick-diagnostics-20241121-0735.zip

  • Community Expert
11 hours ago, sross44 said:

randomly rebooted on it's own

Server rebooting by itself is almost always a hardware issue, or bad power.

  • Author
6 minutes ago, JorgeB said:

Server rebooting by itself is almost always a hardware issue, or bad power.

Power - I'm hooked up to a UPC so that shouldn't necessarily be an issue... and a new PSU (3-4 months old) is in there as well.

 

Hardware - What I'd like to do is try to figure out what's causing it then. Memory pass MemTest when I installed it. What other tests can I be running? 

  • Community Expert
32 minutes ago, sross44 said:

and a new PSU (3-4 months old) is in there as well.

 

A couple of years ago, I had a very similiar situation.  I upgrade my PS and started having issues.  Finally decided to return PS under 30-day return policy and order another one.  Problem solved!  Moral---- Don't assume that a new part can not be defective.

  • Author
17 minutes ago, Frank1940 said:

 

A couple of years ago, I had a very similiar situation.  I upgrade my PS and started having issues.  Finally decided to return PS under 30-day return policy and order another one.  Problem solved!  Moral---- Don't assume that a new part can not be defective.

I hear you on that one.... but I guess I feel like if it's running strong for 30 days straight plus.... then it restarts... the odds of it being the PSU are pretty low? I feel like I would have seen something in the 3-4 months it's been running you know. 

  • Community Expert

you could be having what is called transit power spikes. The UPS may have info if it detecting that from the system.

 

A transient power spike refers to a brief, sudden surge in electrical voltage or current within a system. These spikes can occur due to a variety of reasons, including electrical disturbances, switching devices on or off, or issues with the power supply. Here's a breakdown relevant to an Unraid system:

Cause of Transients:

Power interruptions or surges: Short interruptions in power or a spike in supply voltage can disrupt sensitive hardware.

High-power device activation: Devices like air conditioners, microwaves, or other heavy machinery can cause a spike when starting or stopping.

Faulty power supply or wiring: Problems with power delivery to your server could result in unstable current.

Environmental factors: Lightning strikes or grid instabilities can cause power fluctuations.

Impact on Systems:

Sudden spikes may cause your system to crash, resulting in an unclean shutdown.

They can corrupt data or disrupt processes within Unraid, especially during read/write operations.

Hardware damage is possible if the spike exceeds tolerances.

Mitigation Strategies:

Use a UPS (Uninterruptible Power Supply): A good UPS can filter out spikes and ensure clean, uninterrupted power delivery.

Surge protectors: Ensure your hardware is plugged into surge-protected outlets.

Check power source stability: If spikes are frequent, consult an electrician to evaluate your home's electrical wiring.

For your situation, if you're experiencing unclean shutdowns, a transient power spike could be the culprit. Verifying the quality of power delivery and implementing protective measures like a UPS should be a priority.

sorry hardware is hard to diagnose.

Edited by bmartino1

  • Community Expert
2 hours ago, sross44 said:

but I guess I feel like if it's running strong for 30 days straight plus.... then it restarts... the odds of it being the PSU are pretty low?

 

That's the thing about flaky power supplies, they're flaky. Check all of the connections, and make sure your UPS is UPSing. If it keeps happening, odds are it's the PSU (as already said, it's a prime suspect for random reboots).

 

 

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.