AdoptOpenJDK / AdoptOpenJDK/openjdk-docker

can't kill java process in alpine image

Aperta
#450 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Slim
Stelle
423
Fork
220
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.