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 摘要。