From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Thom Brown <thom(at)linux(dot)com>, pgsql-committers <pgsql-committers(at)postgresql(dot)org> |
Subject: | Re: pgsql: Perform an immediate shutdown if the postmaster.pid file is remo |
Date: | 2015-10-09 21:04:48 |
Message-ID: | 20151009210448.GN4405@alvherre.pgsql |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Tom Lane wrote:
> Thom Brown <thom(at)linux(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2015-10-09 21:42:34 | Re: pgsql: Perform an immediate shutdown if the postmaster.pid file is remo |
Previous Message | Tom Lane | 2015-10-09 20:58:06 | Re: pgsql: Perform an immediate shutdown if the postmaster.pid file is remo |