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 1nU7zo-0007jW-24 for pgsql-general@arkaria.postgresql.org; Tue, 15 Mar 2022 14:17:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nU7zm-0003DG-VX for pgsql-general@arkaria.postgresql.org; Tue, 15 Mar 2022 14:17:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nU7zm-0003D7-Kx for pgsql-general@lists.postgresql.org; Tue, 15 Mar 2022 14:17:54 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nU7zk-00068S-9F for pgsql-general@postgresql.org; Tue, 15 Mar 2022 14:17:54 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 22FEHkSp316111; Tue, 15 Mar 2022 10:17:46 -0400 From: Tom Lane To: depesz@depesz.com cc: "Menon, Deepak (Deepak)" , "Sankar, Uma (Uma) **CTR**" , "pgsql-general@postgresql.org" Subject: Re: [External]Re: Postgres Crash Issue In-reply-to: <20220315133213.GC10372@depesz.com> References: <20220315132747.GA10372@depesz.com> <20220315133213.GC10372@depesz.com> Comments: In-reply-to hubert depesz lubaczewski message dated "Tue, 15 Mar 2022 14:32:13 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <316109.1647353866.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 15 Mar 2022 10:17:46 -0400 Message-ID: <316110.1647353866@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk hubert depesz lubaczewski writes: > On Tue, Mar 15, 2022 at 01:30:25PM +0000, Menon, Deepak (Deepak) wrote: >> Then what does this message mean ? >> = >> 2022-03-11 08:58:42.956 UTC [17115] DETAIL: The postmaster has command= ed this server process to roll back the current transaction and exit, beca= use another server process exited abnormally and possibly corrupted shared= memory. = > When someone issues pg_ctl -m immediate stop (which is the immediate > shutdown). pg basically shutd backends in their head. This, in turn, > means that all other have to exit to avoid shared memory corruption. FWIW, v14 and later produce more on-point error reporting in this case. The code path used to be the same as for a backend crash, but now clients see something like WARNING: terminating connection due to immediate shutdown command server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. and the server log isn't spammed with copies of that, it just looks like 2022-03-15 10:07:48.241 EDT [315456] LOG: received immediate shutdown req= uest 2022-03-15 10:07:48.244 EDT [315456] LOG: database system is shut down None of this gets us any closer to understanding where the signal came from, unfortunately. regards, tom lane