AdoptOpenJDK / AdoptOpenJDK/openjdk-docker

can't kill java process in alpine image

未關閉
#450 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Slim
星號
423
分支
220
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。