Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zkek9-0000xd-P0 for pgsql-committers@arkaria.postgresql.org; Fri, 09 Oct 2015 20:58:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zkek8-0007xt-Lh for pgsql-committers@arkaria.postgresql.org; Fri, 09 Oct 2015 20:58:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zkek8-0007xW-0y for pgsql-committers@postgresql.org; Fri, 09 Oct 2015 20:58:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zkek0-00019K-8V for pgsql-committers@postgresql.org; Fri, 09 Oct 2015 20:58:19 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t99Kw6N3002093; Fri, 9 Oct 2015 16:58:07 -0400 From: Tom Lane To: Thom Brown cc: pgsql-committers Subject: Re: pgsql: Perform an immediate shutdown if the postmaster.pid file is remo In-reply-to: References: Comments: In-reply-to Thom Brown message dated "Fri, 09 Oct 2015 15:56:40 +0100" Date: Fri, 09 Oct 2015 15:58:06 -0500 Message-ID: <47566.1444424286@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Thom Brown writes: > The log contains a misleading output following the removal of the pid file: > 2015-10-09 15:39:32 BST [31507]: [4-1] user=,db=,client= LOG: could > not open file "postmaster.pid": No such file or directory > 2015-10-09 15:39:32 BST [31507]: [5-1] user=,db=,client= LOG: > performing immediate shutdown because data directory lock file is > invalid > 2015-10-09 15:39:32 BST [31507]: [6-1] user=,db=,client= LOG: > received immediate shutdown request > 2015-10-09 15:39:32 BST [31556]: [1-1] user=,db=,client= WARNING: > terminating connection because of crash of another server process > 2015-10-09 15:39:32 BST [31556]: [2-1] user=,db=,client= DETAIL: The > postmaster has commanded this server process to roll back the current > transaction and exit, because another server process exited abnormally > and possibly corrupted shared memory. > 2015-10-09 15:39:32 BST [31556]: [3-1] user=,db=,client= HINT: In a > moment you should be able to reconnect to the database and repeat your > command. Looks as-expected to me. We're forcing a panic stop. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers