Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXBHI-00048W-JK for pgsql-bugs@arkaria.postgresql.org; Mon, 07 Apr 2014 15:16:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WXBHH-0001DP-IQ for pgsql-bugs@arkaria.postgresql.org; Mon, 07 Apr 2014 15:16:03 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXBHG-0001DJ-QE for pgsql-bugs@postgresql.org; Mon, 07 Apr 2014 15:16:03 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXBHD-0006Ma-Ki for pgsql-bugs@postgresql.org; Mon, 07 Apr 2014 15:16:01 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s37FFWwj018922; Mon, 7 Apr 2014 11:15:32 -0400 From: Tom Lane To: Andres Freund cc: "Sofer, Yuval" , "pgsql-bugs@postgresql.org" Subject: Re: Postgres 9.2.8 crash sporadically on Windows In-reply-to: <20140407145202.GE4161@awork2.anarazel.de> References: <2C0926ABD16BB641A8E2F11A54920042556493AA22@PHXCCRPRD01.adprod.bmc.com> <20140407145202.GE4161@awork2.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 07 Apr 2014 16:52:02 +0200" Date: Mon, 07 Apr 2014 11:15:32 -0400 Message-ID: <18921.1396883732@sss.pgh.pa.us> X-Pg-Spam-Score: -2.2 (--) 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 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. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs