Weird issue


ashman70

Recommended Posts

Tonight I went to restart a docker (medusa) and it did not respond. It tried restarting it, nothing. The logs said 'sycning disks'. I waited for almost an hour and the logs did not change, they still said 'syncing disks' so I attempted to stop all my dockers one at a time and they all stopped except plexpy.  I then tried dismounting the array and eventually the gui timed out. Eventually I issued a reboot command from the command prompt and after about a half an hour of the server sitting there saying 'the server is going down now' and nothing happening, I powered the server off. I realize I should of waited longer but I got impatient. I have attached the diagnostics I gathered from the command prompt while it was trying to reboot and before I powered it off.

tower-diagnostics-20171122-0012.zip

Link to comment

On my phone so not able to look at the logs, but just thought I'd mention that a quick press of the power button will initiate a powerdown script which is pretty effective at killing processes and getting the array to shutdown cleanly. Can take a few minutes. Very occasionally I have a VM that was running in the night be stopped in the morning , and attempts to restart fail due to insufficient memory. And stopping array won't complete. It's like the VM is somehow partially still running and holding the big memory chunk. And some of the processes in the crashed VM are still holding locks on files. Rather than something like the reboot command, tapping the power button has worked very well. Can easily look like nothing is happening for an uncomfortably long time. But patience pays off. Last time it seemed to be doing nothing for between.5 and 10 minutes. I was considering giving up, and then suddenly I could see the disk activity lights on my hotswap bays flashing on and off, one at a time, (successful unmounting I assume), before the satisfying powering down of the server. Always worth a try before resorting to the long press on the power button which is more or less equivalent to cutting power, which is going to mean a dirty shutdown.

 

Quick tap of the power button is running a script that @WeeboTech initially wrote that persistently terminates stubborn processes affecting shutdown - I think it's called powerdown, and you can run it from a command line if that is an option. For me, with no console, a command line is not always an option. I always say a quiet thanks to Weebo when it saves me from a 15 hour parity check!

 

On reboot did everything come up fine and Dockers functional? If logs prove unhelpful you might run a memory test just to rule that out. But if everything is working after a reboot it might be one of those unexplainable mysteries.

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.