Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rvH6s-00AwPg-Co for pgsql-bugs@arkaria.postgresql.org; Fri, 12 Apr 2024 13:38:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rvH6r-00EPMN-4u for pgsql-bugs@arkaria.postgresql.org; Fri, 12 Apr 2024 13:38:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rvH6q-00EPMF-Sy for pgsql-bugs@lists.postgresql.org; Fri, 12 Apr 2024 13:38:28 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rvH6n-002VpS-RH for pgsql-bugs@lists.postgresql.org; Fri, 12 Apr 2024 13:38:27 +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 43CDcLJm425284; Fri, 12 Apr 2024 09:38:23 -0400 From: Tom Lane To: harry@linktech.com.tw cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18428: Connection broken but DB service still alive. In-reply-to: <18428-93f18f22a86a84ce@postgresql.org> References: <18428-93f18f22a86a84ce@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Fri, 12 Apr 2024 08:14:28 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <425282.1712929101.1@sss.pgh.pa.us> Date: Fri, 12 Apr 2024 09:38:21 -0400 Message-ID: <425283.1712929101@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: > 2024-04-06 13:54:53.868 CST [4840] LOG: received fast shutdown request Something is sending your postmaster a shutdown signal (SIGINT). You need to figure out how that is happening. In the Windows world I think the most likely theory is that some script is mistakenly issuing "pg_ctl stop"; the signal mechanism we use on that platform doesn't map onto anything else people would commonly do. But that's a guess. There's no hard evidence about the signal source here. regards, tom lane