-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker container hangs #1116
Comments
Output from diagnostics: Docker for Mac: version: 1.12.5 (3e6f00c1d) |
$ docker info |
This seems to point to an issue with the Hyperkit machine itself hanging on a filesystem. If I attach to the docker socket with screen to troubleshoot it I find that ls and df are hanging. / # uname -a I've left df running like that for over 5 minutes now and the prompt still hasn't returned. I am mounting an AFP share from my NAS via /Volumes/media which is used on numerous containers (Plex, Sonarr, Couchpotato, Sabnzbd, Transmission) and it seems to work without issue except for sabnzbd. |
Could you please post the specific command you are executing in the sabnzbd case? There have been a number of improvements to relevant subsystems that have been published on the Beta channel, too. If you are comfortable running the Beta channel, you could give it a try and see if the problem has already been fixed. Please note that this will entail removing all of your containers and images when changing channels. |
I'm creating the sabnzbd container and then just starting it with docker start sabnzbd. The openvpn network is from dperson/openvpn-client on a separate bridge network (vpn) and is used by my sabnzbd, transmission, sonarr, and couchpotato containers. I also have an nginx container running that's linked to the vpn network via docker network connect providing reverse proxy access to the containers on the vpn network.
I'm not opposed to upgrading to the beta channel given that it looks like 1.13 is pretty far along on release candidates. How easily could I switch back to stable after 1.13 is released or would I need to recreate my containers again? |
I might have tentatively found a fix, awaiting further testing. I realised that I shouldn't have bothered with mounting the downloads directory from the NAS drive, it makes far more sense for that to be on the local filesystem and then have Sonarr or Couchpotato take care of copying over the completed downloads to the NAS. It was just a holdover from migrating over from my Synology NAS that had been running everything before I'd switched to Docker on my Mac Mini. |
No luck. Stayed stable for a day or so but then crashed again overnight, and on restart it crashed again within 5 minutes. Still seems to be hit during yenc decoding or unrar. I tried a docker stop first to see if that would stop the container this time as I still had the sabnzbd web gui when the hang after restarting docker happened. Still seeing the same hanging on df and ls when I attach to hyperkit with screen. |
What version did you use for these latest tests? If at all possible, instructions on how to reproduce the issue would help immensely. Removing variables would also be very useful. Do you observe the issue even when not using AFP file systems? Does it happen when executing unrar or similar alone outside of sabnzbd? |
I'd removed any AFP shares from the sabnzbd container (they weren't needed anyway) and still had the same issue. Upgrading to the beta channel has cleared up the issue though. |
Glad the beta channel fixes the problem for you! A synchronizing stable release for 1.13.0 should be available shortly which should also work. Thanks for using Docker for Mac! |
I have this exact same issue on the current unRaid server with native docker and linuxserver/sonarr |
Happened to me too. My only option was to restart the docker service itself (thus stopping all other containers). It worked, but after that someone else suggested I tried |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behaviour
Docker container process to continue running.
Actual behaviour
Docker container linuxserver/sabnzbd becomes hung with a zombie process. The container can bee accessed by docker exec but killing the process is unsuccessful. The container also cannot be stopped when using docker stop or docker kill. The only option is to completely restart docker and restart all containers.
Information
Docker issue:
56EFECB3-1FA1-4F3C-87E4-731B61B784CE
Steps to reproduce the behaviour
The text was updated successfully, but these errors were encountered: