From users-return-118286-archive-asf-public=cust-asf.ponee.io@httpd.apache.org Fri Dec 14 22:52:19 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 85DAF180645 for ; Fri, 14 Dec 2018 22:52:18 +0100 (CET) Received: (qmail 25781 invoked by uid 500); 14 Dec 2018 21:52:17 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 25771 invoked by uid 99); 14 Dec 2018 21:52:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2018 21:52:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 9D7BE1809E6 for ; Fri, 14 Dec 2018 21:52:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.997 X-Spam-Level: * X-Spam-Status: No, score=1.997 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=rowe-clan-net.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id AfAbI2n9KlQn for ; Fri, 14 Dec 2018 21:52:14 +0000 (UTC) Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 9F6B560DE4 for ; Fri, 14 Dec 2018 21:52:14 +0000 (UTC) Received: by mail-ed1-f53.google.com with SMTP id f9so6099124eds.10 for ; Fri, 14 Dec 2018 13:52:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rowe-clan-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=2iav3FHGY3AI1Equz2ZGiQskiIXXOxs7IbJ0F0RHg4w=; b=cOlk74NNYSgDrLXJG2sohwXmsK9/O7/fzdMweYnLIydfZiUbR6Zz3f2HWpWZuPEqmw Zct//ePQRN+jaN+d+59r8D224iwfHjBmLZO0aHY2oiM2xBUD2IW5ZdreF0t7fSWGkneB 729sQKtZ2TqOtS+NwpySwUklFkUcB8JSdx4fyq1bLSFpTys7dpiER7Z38yWBZCEcSnKc Iohe3gu8x/qRzvD20tdPQ12ATUzX9U8EswC28Ubrs8Sv3aGNrTH9UFvimH5xtaqKr49J E9TrcNYtvf53J8Bu5k7H+0BXJM9cs4GxEVZrFKwmAl2gazhknYmIo13tF9zLCsIfO3ef Xadg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=2iav3FHGY3AI1Equz2ZGiQskiIXXOxs7IbJ0F0RHg4w=; b=JC7FcMWIwXxsEpwXBMdMfF9V04R7YBK9DTiYEvUA0ejQNCU44LuCincOBuFwxdMMRp zKrP3NeTTHT/40rFRGyxLkeBqVHhSGaRXAS1EGiR/rUGy2C3KEFkAdsVfARExKM8p72u Qe84niAcjURktUfmk1YIISrt1qEikW5UajIdl64qnUKUTs2hA9lWorWVLTcuM/YX2dmi gQarK8QWS0tmZce3ILMFgF1+c4mPbu6iLwHqQEuWoAdpuXmyorv55Q0cxC1MjHYN/JcI BiVObhFAx8L3EbLH+CJxZ9CJeXC2+J4SgLzQsWq2AVeMS+yJK/QLOPse09RopUqEVMsz 3tGg== X-Gm-Message-State: AA+aEWaHkiUmwQbdZsyOZvoaz7QDKefPn/4YElnLDXlaJ+UOIrADuJC1 BsfzdA/DaX1hvaTAh0kWsl/LvS316Pfhi69bq52JGaONg6Y1dQ== X-Google-Smtp-Source: AFSGD/X+l+1WgfAANksb2qJXMSllSHb68daRNRNTyOCkqaK6UJkG+DuBWcWt1y4gMLUroHCo1iJ99SDoMjGKERtyL0w= X-Received: by 2002:a05:6402:c6:: with SMTP id i6mr3465973edu.241.1544824328224; Fri, 14 Dec 2018 13:52:08 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: William A Rowe Jr Date: Fri, 14 Dec 2018 15:51:42 -0600 Message-ID: To: users@httpd.apache.org Content-Type: multipart/alternative; boundary="0000000000005316b9057d027102" Subject: Re: [users@httpd] Graceful shutdown of apache --0000000000005316b9057d027102 Content-Type: text/plain; charset="UTF-8" On Mon, Dec 10, 2018 at 11:11 AM Hemant Chaudhary < hemantdude.chaudhary@gmail.com> wrote: > Hi, > > I have updated apache-2.4.29 to apache-2.4.37 but still I am not able to > graceful shutdown in debug mode. > > Can you please tell me how should achieve it. ? or let me know the > function which I should call for proper graceful shutdown. > Each MPM (event, worker, process) has it's own signaling architecture between parent and child processes. The parent process signaling is documented here; https://httpd.apache.org/docs/2.4/stopping.html You will need to review the behavior of the child signal handler specific to the MPM you want to control. Quoting the doc above; "You will notice many httpd executables running on your system, but you should not send signals to any of them except the parent, whose pid is in the PidFile. That is to say you shouldn't ever need to send signals to any process except the parent. There are four signals that you can send the parent: TERM, USR1, HUP, andWINCH, which will be described in a moment." So what you seek to do is, effectively undocumented/unsupported. Debug mode is not a supported operating mode, as I mentioned earlier. --0000000000005316b9057d027102 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Dec 10, 2018 at 11:11 AM Hemant Chaudhary <hemantdude.chaudhary@gmail.com> wrot= e:
Hi,

I have updated apache-2.4.29 to apache-2.4.37 bu= t still I am not able to graceful shutdown in debug mode.

Can you please tell me how should achieve it. ? or let me know the = function which I should call for proper graceful shutdown.

Each MPM (event, worker, process) has it's = own signaling architecture between parent and child processes.
The parent process signaling is documented here;=C2=A0https://httpd.apache.o= rg/docs/2.4/stopping.html

You will need to rev= iew the behavior of the child signal handler specific to the MPM you want t= o control.=C2=A0

Quoting the doc above; "You will = notice many httpd executables running on your system, but you should not se= nd signals to any of them except the parent, whose pid is in the PidFile. T= hat is to say you shouldn't ever need to send signals to any process ex= cept the parent. There are four signals that you can send the parent: TERM,= USR1, HUP, andWINCH, which will be described in a moment."

So = what you seek to do is, effectively undocumented/unsupported. Debug mode is= not a supported operating mode, as I mentioned earlier.
--0000000000005316b9057d027102--