-
Notifications
You must be signed in to change notification settings - Fork 232
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
rpc.nfsd hangs on container start up #43
Comments
Thanks for the report. Very interesting bug you're experiencing - let's see if we can fix it! I see that you put the container into debug mode - do the server logs show anything interesting? When you restart the container, I'd be interested in the logs of the server shutdown mostly, but also the logs of the server that tries to start up. Feel free to post the logs - hopefully we'll see a clue. When you issue the
As far as I can tell, On your clients, what is the full |
It seems if I just do just a compose down/stop everything looks like it terminates gracefully. Here's the
The container entrypoint.sh seems to not progress beyond that point.
I've also tried doing a |
Sometime the Alpine Linux can incur unexpected behavior. Try build with latest Alpine release or replace it with Ubuntu/Debian. |
I had the same problem with non-LTS Ubuntu distributions. I discovered it by chance because on another machine the problem didn't occur, and by trying with other machines of co-workers I confirmed it. I do not know the exact cause but upgrading to the LTS distribution solved the problem |
I'll preface this with saying this is probably a bug against me not knowing nfs things. I'm using the following compose file to spin the container.
Exports file looks like this:
I am able to basically docker-compose restart down/up just fine until I mount the share from another system. After I do that, regardless of whether or not I unmount from the other system, the next time I try to restart the container, it hangs on
starting rpc.nfsd on port 2049 with 4 server thread(s)
. I'm unable to stop the container or even kill -9 the rpc.nfsd process at that point. It must be some sort of low level deadlock, but my brain has been too small to find the root cause thus far. 💯The text was updated successfully, but these errors were encountered: