pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thom Brown <thom@linux.com>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Subject: Re: pgsql: Perform an immediate shutdown if the postmaster.pid file is remo
Date: Fri, 09 Oct 2015 15:58:06 -0500
Message-ID: <47566.1444424286@sss.pgh.pa.us> (raw)
In-Reply-To: <CAA-aLv6U6jJjCONKSaYysx=kgrfBPDQNC8eKr2eiebuHQ6s3GA@mail.gmail.com>
References: <E1ZjZah-0007cC-Ro@gemulon.postgresql.org>
	<CAA-aLv6U6jJjCONKSaYysx=kgrfBPDQNC8eKr2eiebuHQ6s3GA@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Thom Brown <thom@linux.com> 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



view thread (10+ messages)  latest in thread

Message-ID: <47566.1444424286@sss.pgh.pa.us>
Permalink:  ../47566.1444424286@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/47566.1444424286@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, thom@linux.com
  Subject: Re: pgsql: Perform an immediate shutdown if the postmaster.pid file is remo
  In-Reply-To: <47566.1444424286@sss.pgh.pa.us>
  References: <E1ZjZah-0007cC-Ro@gemulon.postgresql.org> <CAA-aLv6U6jJjCONKSaYysx=kgrfBPDQNC8eKr2eiebuHQ6s3GA@mail.gmail.com> <47566.1444424286@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox