pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: 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, 9 Oct 2015 18:04:48 -0300
Message-ID: <20151009210448.GN4405@alvherre.pgsql> (raw)
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>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Tom Lane wrote:
> 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.

I think he's complaining that the final HINT is misleading.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
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: <20151009210448.GN4405@alvherre.pgsql>
Permalink:  ../20151009210448.GN4405@alvherre.pgsql/
Also on:    postgresql.org/message-id/20151009210448.GN4405@alvherre.pgsql

 · 

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: alvherre@2ndquadrant.com, 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: <20151009210448.GN4405@alvherre.pgsql>
  References: <E1ZjZah-0007cC-Ro@gemulon.postgresql.org> <CAA-aLv6U6jJjCONKSaYysx=kgrfBPDQNC8eKr2eiebuHQ6s3GA@mail.gmail.com> <47566.1444424286@sss.pgh.pa.us> <20151009210448.GN4405@alvherre.pgsql>

* 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