Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 383FB119C295 for ; Thu, 8 Mar 2012 16:07:07 -0400 (AST) Received: from gwmta.wicourts.gov ([165.219.244.99] helo=gw.wicourts.gov) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1S5jc9-0000Yd-UJ for pgsql-admin@postgresql.org; Thu, 08 Mar 2012 20:07:06 +0000 Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Thu, 08 Mar 2012 14:06:53 -0600 Message-Id: <4F58BCF80200002500046051@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.2 Date: Thu, 08 Mar 2012 14:06:48 -0600 From: "Kevin Grittner" To: "umashankar narayanan" , Subject: Re: Postgres server crashing unexpectedly. References: <20120308192359.223710@gmx.com> In-Reply-To: <20120308192359.223710@gmx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Pg-Spam-Score: -3.8 (---) X-Archive-Number: 201203/41 X-Sequence-Number: 39229 [Please don't top-post. http://idallen.com/topposting.html ] "umashankar narayanan" wrote: > "Kevin Grittner" wrote: >> "umashankar narayanan" wrote: >> Please give the full version > The full version of Postgres is 8.3.1. You are missing four years of bug fixes for 8.3. http://www.postgresql.org/support/versioning/ To see what fixes you are missing, look at the links to release notes for 8.3.2 to 8.3.18: http://www.postgresql.org/docs/8.3/static/release.html Please either update to a recent bug-fix release of 8.3 or review all of these pages closely to be sure that your problem couldn't have been caused by any of the already-fixed bugs. >>> 2012-03-07 11:57:20 EST LOG: server process (PID 5944) exited >>> with exit code 128 >> >> Was there anything in the PostgreSQL log ahead of this to give a >> clue what went wrong and caused this? > All that I see on the postgres log before the crash is the below > message: > > 2012-03-07 11:56:12 EST LOG: loaded library > "$libdir/plugins/plugin_debugger.dll" That's about one minute before the crash. If that's not what caused the crash, it's a heck of a coincidence. >>> 2012-03-07 11:57:22 EST FATAL: pre-existing shared memory block >>> is still in use >>> 2012-03-07 11:57:22 EST HINT: Check if there are any old server >>> processes still running, and terminate them. >> >> Something is still hanging on to the PostgreSQL shared memory >> block. >> >> Are any postgres processes lingering? Are you running anything >> else which might be grabbing the same shared memory block? > No other postgres processes are lingering. I did confirm that no > other batch jobs or monitoring jobs were running during this time, > that would grab the same shared memory block. Perhaps the debugger still had some process active and attached to shared memory at the point that this was logged, but has since released the memory? *Something* was still using PostgreSQL shared memory at 2012-03-07 11:57:22 EST. -Kevin