From issues-return-69081-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Thu Jul 5 01:17:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 73EC5180674 for ; Thu, 5 Jul 2018 01:17:03 +0200 (CEST) Received: (qmail 96559 invoked by uid 500); 4 Jul 2018 23:17:02 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 96406 invoked by uid 99); 4 Jul 2018 23:17:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2018 23:17:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id EC2CCC00A7 for ; Wed, 4 Jul 2018 23:17:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Hk6vCpMSbkxc for ; Wed, 4 Jul 2018 23:17:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id EC2465F21E for ; Wed, 4 Jul 2018 23:17:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 79FF1E00A7 for ; Wed, 4 Jul 2018 23:17:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 400F227505 for ; Wed, 4 Jul 2018 23:17:00 +0000 (UTC) Date: Wed, 4 Jul 2018 23:17:00 +0000 (UTC) From: "Ivan Yani (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (IGNITE-8932) Docker image: doesn't handle SIGTERM MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-8932?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D165= 33103#comment-16533103 ]=20 Ivan Yani edited comment on IGNITE-8932 at 7/4/18 11:16 PM: ------------------------------------------------------------ How to reproduce: docker run --name ignite=C2=A0[apacheignite|https://hub.docker.com/u/apache= ignite/]/ignite:2.5.0 docker stop ignite docker ps |grep ignite Exited (137) =C2=A0 So exit code is 137 which means process didn't respond to SIGTERM and was k= illed was (Author: vanuan): How to reproduce: docker run --name ignite=C2=A0[apacheignite|https://hub.docker.com/u/apache= ignite/]/[ignite|https://hub.docker.com/r/apacheignite/ignite/]:2.5.0 docker stop ignite docker ps |grep ignite Exited (137) =C2=A0 So exit code is 137 which means process didn't respond to SIGTERM and was k= illed > Docker image: doesn't handle SIGTERM > ------------------------------------ > > Key: IGNITE-8932 > URL: https://issues.apache.org/jira/browse/IGNITE-8932 > Project: Ignite > Issue Type: Bug > Reporter: Ivan Yani > Priority: Major > > So there's this "pid 1" issue with ignite image published on docker hub. = The problem manifests in not being able to send SIGTERM to ignite java proc= ess. > The reason of this issue is that the signal is sent to the shell script w= hich start ignite, not ignite itself. To fix the issue you need to use "exe= c" in bash script to replace bash process with java process. -- This message was sent by Atlassian JIRA (v7.6.3#76005)