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

Improve containers stopping performance by handling SIGTERM (95% improvement) #627

Merged

Conversation

Brikaa
Copy link
Member

@Brikaa Brikaa commented Oct 3, 2023

The PID 1 processes in piston_api and piston_repo containers did not use to handle the SIGTERM signal causing Docker to timeout (after about 10 seconds) on stopping the containers and to SIGKILL them.

After this change, the containers now stop after about 0.5 seconds on my machine.

@HexF HexF merged commit fb658e1 into engineer-man:master Oct 8, 2023
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