-
Notifications
You must be signed in to change notification settings - Fork 248
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
daemon: Resource temporarily unavailable #37
Comments
@linzx0403 Could you provide your environment ( |
My host environment shows below: env: The go program execute shell script via 'cmd := exec.CommandContext(ctx, "/bin/sh", AgentShellDir + "docker_install.sh")', and this script needs long time to finish. I restart the program before script execute finished, then logs show 'daemon: Resource temporarily unavailable'. |
It is caused by already running daemon. You should stop the daemon before run it again. Because daemon on startup uses |
remove the pid file before starting daemon. |
when child process create by the program via exec.Command() ,and restart the program without wait the child process ends, the program always report error 'daemon: Resource temporarily unavailable'. Is any way to resolve the problem?
The text was updated successfully, but these errors were encountered: