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

Fix qlever stop taking a long time #29

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

Qup42
Copy link
Member

@Qup42 Qup42 commented Feb 24, 2024

The problem was that in the previous setup SIGNALS were not forwarded. Every qlever stop thus waited until docker forcefully terminated the container after 10s. --init starts an init process in the container that forwards SIGNALS. The containers now stop instantly.

Some technical background: https://hynek.me/articles/docker-signals/

The problem was that in the previous setup SIGNALS were not forwarded. Every `qlever stop` thus waited until docker forcefully terminated the container after 10s. `--init` starts an init process in the container that forwards SIGNALS.
@Qup42
Copy link
Member Author

Qup42 commented Feb 24, 2024

Ping @hannahbast

Copy link
Member

@hannahbast hannahbast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great find, thanks a lot, Julian!

@hannahbast hannahbast merged commit 4896870 into ad-freiburg:main Feb 24, 2024
0 of 2 checks passed
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 this pull request may close these issues.

2 participants