-
Notifications
You must be signed in to change notification settings - Fork 117
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
Weird SIGQUIT exception when combined with Docker's PHP fpm-buster image #89
Comments
Hello, I have exactly the same issue with a PHP image : php:7.4-fpm-alpine Thank you and thank for your amazing tool ! |
Hello,
Basically, we remaping SIGQUIT to SIGTERM here, because of supercronic (according to this line) doesn't handling anything beyond SIGTERM, SIGINT and SIGUSR2. Reproduced error in almost all reasonable versions of php:xx-fpm images, with all available distros. I can't wrap my head around whats happening in php images, but it looks like it's not a supercronic problem, php dockerimage maintainers must be done something to inflict this behaviour. As far as I know, php-fpm can't handle SIGTERM properly (well, I believe it can, but it's not implemented for any reason), so they are sticking to SIGQUIT for graceful shutdown or something. |
PHP images just set Thanks for the PR, I'll take a look at it now. |
Thanks a lot, I've probably just missed that instruction in their Dockerfile. |
Hello,
First and most important, thank you for creating and making supercronic available to the world!
I'm trying to add supercronic to Docker container based on official Docker PHP one, and noticed that when supercronic is launched, either as entrypoint or via sh
exec
, the following exception is shown when trying todocker stop
that container:I was able to reduce the test scenario to the following Dockerfile:
While PHP container is based on
debian:buster-slim
, I was not able to reproduce this scenario when using that image, however, This also works withcli-buster
image, which makes things more tricky to investigate. I'm not proficient in Go in order to deeper debug this and report to Docker's official tracker.Any hint that could help me debug this further?
Thank you in advance for your time.
❤️ ❤️ ❤️
The text was updated successfully, but these errors were encountered: