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 1oo2qH-0006xU-1c for pgsql-bugs@arkaria.postgresql.org; Thu, 27 Oct 2022 13:22:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oo2qF-00013v-Qw for pgsql-bugs@arkaria.postgresql.org; Thu, 27 Oct 2022 13:22:39 +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 1oo2qF-00013k-J5 for pgsql-bugs@lists.postgresql.org; Thu, 27 Oct 2022 13:22:39 +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 1oo2qD-0001FC-3J for pgsql-bugs@lists.postgresql.org; Thu, 27 Oct 2022 13:22:39 +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 29RDMYqP642796; Thu, 27 Oct 2022 09:22:34 -0400 From: Tom Lane To: carlos.gonzalez@nologin.es cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17666: Unexpected shutdown In-reply-to: <17666-ebd96b17b269faa1@postgresql.org> References: <17666-ebd96b17b269faa1@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Thu, 27 Oct 2022 11:37:20 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <642794.1666876954.1@sss.pgh.pa.us> Date: Thu, 27 Oct 2022 09:22:34 -0400 Message-ID: <642795.1666876954@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > Last October 2nd the postgresql service shut down the database > unexpectedly. > We only have this entry in the log file. Please, is there any way to > investigate the problem with so little information? > 2022-10-02 04:33:18.884 CDT pid: [9246] db: user: id: 6231c4b5.241e > sqlstate: 00000 > LOG: received immediate shutdown request That is a commanded shutdown: something sent the postmaster process a SIGQUIT signal. The cause is very unlikely to be within Postgres itself. You should be thinking in terms of operator error or a misbehaving administrative script. regards, tom lane