Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l3qob-0008OS-A1 for pgsql-bugs@arkaria.postgresql.org; Mon, 25 Jan 2021 01:37:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l3qoZ-00076o-TQ for pgsql-bugs@arkaria.postgresql.org; Mon, 25 Jan 2021 01:37:11 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l3qmc-0005Le-CG for pgsql-bugs@lists.postgresql.org; Mon, 25 Jan 2021 01:35:10 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l3qmZ-0005CN-Q0 for pgsql-bugs@postgresql.org; Mon, 25 Jan 2021 01:35:09 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BA3B15C0117; Sun, 24 Jan 2021 20:35:06 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 24 Jan 2021 20:35:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=GhjzaqFufWOSHeb/niEJH2Yn+DJ SRw14/tszDqGib9M=; b=XCy+UxnlsT/Ci5a/xIjePMQrIT9hwZ+ZQQ+shwlJEId IAqS5ll+We8pGDZTg8Jpxe9sKdmjlSVYvYPanT8udq82Ks8/p7fF47nd4XzdVVkw EMarIbgsv42CpP9BQXpNkzzAJEzWCOeTuRgw29tXb5t0edtcd6hKcoUVhhKEmGaN R77s7DOlrJnWX9TXJ0vEL5nfC6LTnzVA91Cm8TI8rKRC+oJFdMvkcpi3vxrrWkem oe/kz3qP8662oweg0n3Z9YjsPb4ofhO2/W5ur6kCh661CtaQ9s8IJNoIqJSiLsAU xpkcYlvoAXWyBvP+BWqAMAZTBbQHCsHBK/xyJecv3mg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Ghjzaq FufWOSHeb/niEJH2Yn+DJSRw14/tszDqGib9M=; b=Bamjpaq+Lv8E7P0Tv48FBJ JhMYv/DORjfOz+20MWhZmksfHxMz6iSHKYF4NWEZm5KHLw/AS6PD1yWiJmkDD5ZQ lkLUN+uI/CVYLkWBJF3kIs95uo31dalOR/WrsUOOeGyfjYpShy/xKA0Uojg6kY01 WmQcZpa14tVP+xKao6tipHfaFOk3042Ep0pbGbiMsx0QXY14VCpWB55mGZapgFNl MIBh8KTstPjO782F8TyAa52atQ8wj+CdacyNn17WJ4EvDfvDJ/gAMsleXNnInXT0 iQNiWn51tthmo4oy8V4Gz8towY79OVin4rKyT0ojZpyHGiM8Rbj4+NtR+ATf+g+w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddvgdefiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdejtddmnecujfgurhepfffhvf fukfhfgggtuggjsehgtderredttdejnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhi vghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnh epveefgfeugedvjeefjeffkefhfeetkeelvdegvdefgeefudejuedtkeehiefgleeunecu kfhppeduuddurddutddvrddukedtrddukeehnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 98A5E24005D; Sun, 24 Jan 2021 20:35:05 -0500 (EST) Date: Mon, 25 Jan 2021 10:35:01 +0900 From: Michael Paquier To: bchen90 Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #16817: kill process cause postmaster hang Message-ID: References: <16817-d23e3a1a027133d5@postgresql.org> <865794.1610380530@sss.pgh.pa.us> <1611536464874-0.post@n3.nabble.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Hw3lSHdo0R02PCCw" Content-Disposition: inline In-Reply-To: <1611536464874-0.post@n3.nabble.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Hw3lSHdo0R02PCCw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 24, 2021 at 06:01:04PM -0700, bchen90 wrote: > Thanks for you reply, and can you elaborate "SIGKILL-after-5-seconds > logic"=EF=BC=9F You are looking for the changes related to this command, as of postmaster.c: git grep SIGKILL_CHILDREN_AFTER_SECS -- Michael --Hw3lSHdo0R02PCCw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmAOIEUACgkQnvQgOdby QH0IoBAAnK1KkjVwX++T1AQP3Qltv7P+FvhC8vIC9d20voHkEUYjaujFayxFE+Jt 9lspM4O48YhzMM4F5W4a2PU6SZhHKv+OpfmB0DozLLWYVwwgpThTXxCo40qHvonV k6YLAQONcniP4f0BPM6em5OR03MWb5LBe7gUxTcVD2FCVpo44+WomRmlnwckv4R2 Ms5x3F+kjaDlVA//i2pD9tX3aE77pb30VLOKHOKHN6c3t97+8+oz/C5vbXKx1NyD FcXSxP5KS2XzxVTARmpcg8PqUqO6cLHyEWZWCjD01v2FfJL3z7dw9gtq8RP8lbBV v7EmihT7zGbl8V0EreaNMXx7kMXcgqyXBJRK2V8LMmXfYt/SW3YEzBkRZl0qxnI2 fuQGdNqPlEHFlmhLHeONj6IWCwqjJqBriLKstUVLOCbSeS4L1Nb2+WwCQ4qhrK4+ BCGEiGigwxhAnRggQhkVOUjDmnwG0b8kidvNMuiBOhwif20+8Oeq8eqzYctihcUs +PaLHGgsqRc/a3pkBFotBt+U29IHzEqF7ulv98pOdTVhT+pvor0MKWRijBxy0/Iv 2A0JkJ6tFk2gerTRxKZMuztxAj3od2dV62N4BEgQZS4459/GZnFoKjI7WUzxD1yK 7sylm7lMRBeeuaUv0/iQGAOXoHo6HU1XLTl84usjWeTAbWjpUq4= =NGPW -----END PGP SIGNATURE----- --Hw3lSHdo0R02PCCw--