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 grinds to a halt reporting 50% utilisation

Featured Replies

This is an incomplete issue, I’m asking for help to further troubleshoot the problem.

Recently my server has been having some intermittent issues where the dashboard reports 50% cpu utilisation, and all docker containers become unresponsive , even the shutdown commands do too.

The only temporary method to resolve is to hard shutdown it down. Sometimes this will reoccur within a day, but sometime longer, I had a steak recently of 2 months, it fooled me into thinking all my problems were over.

When sshd into the server, top reports normal utilisation, showing no major processes, with total utilisation no where near 50%. The kernel log also shows no messages related to this.

Where can I look next to debug?

IMG_6879.jpeg

  • Author

@JorgeB I presume that will be most useful during an event, as I restarted it since last time, I shall respond next once it reoccurs.

  • 1 month later...
  • Author

An event finally reoccured, trying to run diagnostics during it hung for a while (maybe I'm not patient enough?), and no information seems present in the syslog

About 22:20 is when I noticed, and restarted the server
```

Sep 5 19:47:01 Tower crond[2013]: failed parsing crontab for user root: Invalid frequency setting of /usr/local/emhttp/plugins/ca.update.applications/scripts/updateApplications.php >/dev/null 2>&1

Sep 5 20:07:01 Tower crond[2013]: failed parsing crontab for user root: Invalid frequency setting of /usr/local/emhttp/plugins/ca.update.applications/scripts/updateApplications.php >/dev/null 2>&1

Sep 5 20:20:32 Tower bluetoothd[7554]: src/device.c:set_wake_allowed_complete() Set device flags return status: Invalid Parameters

Sep 5 20:20:32 Tower kernel: Bluetooth: hci2: No such LE device 70:91:f3:9e:38:ea (0x0)

Sep 5 20:28:01 Tower crond[2013]: failed parsing crontab for user root: Invalid frequency setting of /usr/local/emhttp/plugins/ca.update.applications/scripts/updateApplications.php >/dev/null 2>&1

Sep 5 22:19:30 Tower rc.rsyslogd: Syslog server daemon... Started.

Sep 5 22:19:30 Tower root: Delaying execution of fix common problems scan for 10 minutes

Sep 5 22:19:30 Tower unassigned.devices: Mounting 'Auto Mount' Devices...

Sep 5 22:19:30 Tower emhttpd: Starting services...

Sep 5 22:19:30 Tower emhttpd: shcmd (70): /etc/rc.d/rc.samba reload

```

Edited by hcookie
Selfdeprecation

  • Community Expert

I'm afraid that without anything relevant logged, there's not much to go on, one thing you can try is to boot the server in safe mode with all docker containers/VMs disabled, let it run as a basic NAS for a few days and see if it still happens, if it doesn't, start turning on the other services one by one, including the individual docker containers.

  • 2 weeks later...
  • Author

So further debugging during an event, revealed the true cause of this behaviour is a lock of /mnt/user. As the containers mounted that for appdata, they froze.

I tried moving them directly to /mnt/cache to prevent over use of the shfs, but that merely kept some containers alive when it happened again. What are some troubleshooting steps I could take? I have already updated to the latest release of unraid

  • Community Expert

Without anything logged, it won't be easy to debug, but you can still try what I mentioned above.

  • Author

As I run a number of important containers on this system, I can’t quite do that. I’m looking at buying a second system atm. Here is what little is logged, https://pastebin.com/ThAe4HF3

Edited by hcookie
Add log

  • Community Expert

Unfortunately, still nothing relevant that I can see.

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.