From: Andres Freund <andres@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Sofer, Yuval <Yuval_Sofer@bmc.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: Postgres 9.2.8 crash sporadically on Windows
Date: Mon, 7 Apr 2014 17:20:25 +0200
Message-ID: <20140407152025.GF4161@awork2.anarazel.de> (raw)
In-Reply-To: <18921.1396883732@sss.pgh.pa.us>
References: <2C0926ABD16BB641A8E2F11A54920042556493AA22@PHXCCRPRD01.adprod.bmc.com>
<20140407145202.GE4161@awork2.anarazel.de>
<18921.1396883732@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 2014-04-07 11:15:32 -0400, Tom Lane wrote:
> Andres Freund <andres@2ndquadrant.com> writes:
> > On 2014-04-07 09:49:09 -0500, Sofer, Yuval wrote:
> >> Postgres server (9.2.8) crash on Windows sporadically
>
> >> 2014-04-06 08:08:01.069 GMTLOG: server process (PID 5304) exited with exit code 0
> >> 2014-04-06 08:08:01.069 GMTLOG: terminating any other active server processes
> >> 2014-04-06 08:08:01.833 GMTLOG: all server processes terminated; reinitializing
> >> 2014-04-06 08:08:11.183 GMTFATAL: pre-existing shared memory block is still in use
> >> 2014-04-06 08:08:11.183 GMTHINT: Check if there are any old server processes still running, and terminate them.
> >>
> >> This is production, Please help!
>
> > This is unfortunately not giving us many details to work with...
>
> The "exit code 0" bit reminds me of this:
>
> http://www.postgresql.org/message-id/21027.1393546453@sss.pgh.pa.us
>
> Is there another exit report for the same PID just above the quoted log
> extract? Because if there isn't, the postmaster shouldn't be thinking
> that status 0 represents a crash.
Wouldn't a pl or library doing a exit(0); cause exactly that, because it
will still be in PM_CHILD_ASSIGNED?
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: andres@2ndquadrant.com, tgl@sss.pgh.pa.us, Yuval_Sofer@bmc.com
Subject: Re: Postgres 9.2.8 crash sporadically on Windows
In-Reply-To: <20140407152025.GF4161@awork2.anarazel.de>
References: <2C0926ABD16BB641A8E2F11A54920042556493AA22@PHXCCRPRD01.adprod.bmc.com> <20140407145202.GE4161@awork2.anarazel.de> <18921.1396883732@sss.pgh.pa.us> <20140407152025.GF4161@awork2.anarazel.de>
* 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