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

Update wdb stop signal hack #83

Merged
merged 1 commit into from
Aug 11, 2020
Merged

Update wdb stop signal hack #83

merged 1 commit into from
Aug 11, 2020

Conversation

yajo
Copy link
Contributor

@yajo yajo commented Aug 6, 2020

Previous hack made it quick to stop the wdb.server.py process, which doesn't react properly to SIGTERM as explained in Kozea/wdb#136.

However, if this process was still alive, when powering off the computer it took forever to kill it. Thus, using this alternative hack is better, because it uses docker's built-in tini to reap child processes. It is still fast, but it also helps the host's process reaper to work reliably.

BTW I update MQT submodule.

@yajo yajo added this to the v2.0.0 milestone Aug 6, 2020
@yajo yajo added automerge Marks the PR to be automatically merged when required checks pass bug Something isn't working labels Aug 6, 2020
@yajo yajo self-assigned this Aug 6, 2020
Previous hack made it quick to stop the `wdb.server.py` process, which doesn't react properly to `SIGTERM` as explained in Kozea/wdb#136.

However, if this process was still alive, when powering off the computer it took forever to kill it. Thus, using this alternative hack is better, because it uses docker's built-in `tini` to reap child processes. It is still fast, but it also helps the host's process reaper to work reliably.

BTW I update MQT submodule.
@github-actions github-actions bot merged commit 2982955 into master Aug 11, 2020
@github-actions github-actions bot deleted the wdb-init branch August 11, 2020 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Marks the PR to be automatically merged when required checks pass bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant