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.

Defunct (zombie) processes crashing unraid

Featured Replies

In the last week I have had two instances of unraid crashing (meaning the webinterface, shares and dockers remain functioning). Every time there are Defunct processes, as far as I can tell a defunct proces is a process that has ended but was not terminated properly. I am guessing that the fact that the processes are not correctly terminated is causing the webinterface to stall ("waiting" for a process to finish which it will never do).. Defunct processes cannot be KILL -9'd.. So it looks like I am stuck needing a reboot..

 

I have attached syslog but cannot find anything usefull in there..

 

syslog.zip

  • Author

Trying to fix this without rebooting...

 

From commandline I did:

 

docker ps -a

 

This gives me as list of running dockers including there ID (first collumn)

 

Then I use

docker stop <ID>

 

to stop every running docker container.

 

All dockers stop gracefully but for the SABNZBD container (needo version), this is taking a looooong time and showing the following error:

 

 kernel:unregister_netdevice: waiting for lo to become free. Usage count = 1

 

I will wait a bit to see if it solves it by itself, but this seems the culprit.. It feels like if I can get this to terminate (possible by stopping docker itself if it cannot solve itself that will cause the webgui to become responsive again.. With a bit of luck I will be able to restart the dockers again from the webgui..

 

 

  • Author

Found the issue...

 

The SABNZBD/NEEDO plugin will crash the webgui if I try to stop or restart it.. The restart of stop process will hang indefinately. If I kill -9 to process that is doing the restart then the webgui is back again..

 

  • Author

Unfortunately the defunct process is still there.. The webgui however was available again...

 

I tried to restart the server (thru the webgui), unfortunately that causes a gui crash again..  Powerdown from commandline shows the following error again:

 

 kernel:unregister_netdevice: waiting for lo to become free. Usage count = 1
p disk

 

Shutting down does not complete.. stuck again...

  • Author

Eventually got it responsive by shooting off some running processes by hand.. After that the powerdown script was able to run.. It gave a lot of errors but I think it stopped the array gracefully...

 

System is now rebooting...

  • Author

Server is back... no parity check :-)

  • 5 weeks later...

Mover is breaking for me sometimes:

 

root@Tower:~# ps aux |grep rsync
root     21647  0.0  0.0  11780  1448 ?        D    03:40   0:00 rsync -i -dIWRpEAXogt --numeric-ids --inplace ./Video/TV/Transparent/Season 01/Transparent.S01E08.720p.WEB-DL-BATV.en.srt /mnt/user0/
root     21648  0.0  0.0      0     0 ?        Z    03:40   0:00 [rsync] <defunct>
root     24486  0.0  0.0   5104  1640 pts/4    S+   10:24   0:00 grep rsync

 

That subtitle file was a few hundred kb, and I have to hard reset my server, since I can't unmount the drive due to it being locked up by the failed rsync.

Archived

This topic is now archived and is closed to further replies.

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.