Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXBLl-0004K3-Na for pgsql-bugs@arkaria.postgresql.org; Mon, 07 Apr 2014 15:20:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WXBLk-0002oR-LP for pgsql-bugs@arkaria.postgresql.org; Mon, 07 Apr 2014 15:20:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXBLj-0002nF-Iw for pgsql-bugs@postgresql.org; Mon, 07 Apr 2014 15:20:39 +0000 Received: from moutng.kundenserver.de ([212.227.17.10]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXBLg-0000ef-AM for pgsql-bugs@postgresql.org; Mon, 07 Apr 2014 15:20:38 +0000 Received: from anarazel.de (p54AF413B.dip0.t-ipconnect.de [84.175.65.59]) by mrelayeu.kundenserver.de (node=mreue105) with ESMTP (Nemesis) id 0M40YM-1Wo1Vd2Y1C-00rZmg; Mon, 07 Apr 2014 17:20:33 +0200 Received: by anarazel.de (Postfix, from userid 1000) id 2F660101631; Mon, 7 Apr 2014 17:20:25 +0200 (CEST) Date: Mon, 7 Apr 2014 17:20:25 +0200 From: Andres Freund To: Tom Lane Cc: "Sofer, Yuval" , "pgsql-bugs@postgresql.org" Subject: Re: Postgres 9.2.8 crash sporadically on Windows Message-ID: <20140407152025.GF4161@awork2.anarazel.de> References: <2C0926ABD16BB641A8E2F11A54920042556493AA22@PHXCCRPRD01.adprod.bmc.com> <20140407145202.GE4161@awork2.anarazel.de> <18921.1396883732@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18921.1396883732@sss.pgh.pa.us> X-Provags-ID: V02:K0:VoCkOGH7MBkH2PgBkaj2avi2T+/w0rVvCzDZszUctjp cLGCkgdMRMAm7kprsr+2+QVMiJGxMUfNcDTG6qnZhsYqEHkWBk adf3tqLzTNpMFOKumvU3nmD7EcU/XcPtyOpFlasxMCuDe/Rmyq DvO9l5nM8QRm6um2OxrUj1dJJluF31DQHn1EI4F0CLG4Zp/Su/ 7tW5xgHlCiZbUXBDoTKYANaLqJG2qQlflFtdvwE1z6Xso5NiWO HrzsJFlvfpqPNkpFrHM2TuuLTwS6WSY0OnZgXmPDJheUYUjN/9 fpe87ynu+TZCDpkRnLrzU6Z6nJTqueRO9IH8cIT+zP0tjrv/Zx bS4oaXQquOvxKaKF/LVQ+HhW8ACCZfoqSWDLHi6Cz X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 2014-04-07 11:15:32 -0400, Tom Lane wrote: > Andres Freund 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