AdoptOpenJDK / AdoptOpenJDK/openjdk-docker

can't kill java process in alpine image

Open
#450 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Slim
Stars
423
Forks
220
PR merge metrics
No merged PRs in 30d

Description

I'm drawing blanks here, we switch from `adoptopenjdk/openjdk13:debian` to `adoptopenjdk/openjdk13:alpine`, and I'm unable to kill my `java` process anymore ...
Both SIGTERM and SIGINT are ignored by the java process, but SIGKILL works, and SIGQUIT also actually gives a thread dump.

to exclude it being some issue with `bash` vs busybox `sh` I also installed `bash` on the alpine image and used that, didn't make any difference...

we do actually have a `Runtime.getRuntime()::addShutdownHook` registered.

note; also tested with jdk11, just to be sure

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.