Skip to content
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

shutdown-functions not used via docker stop #73

Closed
bebehei opened this issue Jan 18, 2017 · 0 comments · Fixed by #74
Closed

shutdown-functions not used via docker stop #73

bebehei opened this issue Jan 18, 2017 · 0 comments · Fixed by #74

Comments

@bebehei
Copy link
Contributor

bebehei commented Jan 18, 2017

docker stop does not send signals to supervisor-processes correctly. The signals get lost somewhere on the way between docker -> /opt/run -> supervisord -> /opt/supervisor/*

At least:

  • There is no log-entry in the corresponding-log file which should indicate the intention to stop the service via init.d-script.
  • docker needs exactly 10s to stop the container all the time:
$> docker stop --help
[...]
   -t, --time int   Seconds to wait for stop before killing it (default 10)
$> time docker stop mon-dev
mon-dev
docker stop mon-dev  0.01s user 0.00s system 0% cpu 10.346 total
$>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant