Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fAN1h8m95097 for ; Thu, 22 Nov 2001 20:43:08 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id fAN1guc02218; Thu, 22 Nov 2001 20:42:56 -0500 (EST) To: Jeff Waugh cc: pgsql-admin@postgresql.org Subject: Re: stuck spinlock In-reply-to: <20011122125059.7ec431d3.jaw@ic.net> References: <20011122125059.7ec431d3.jaw@ic.net> Comments: In-reply-to Jeff Waugh message dated "Thu, 22 Nov 2001 12:50:59 -0500" Date: Thu, 22 Nov 2001 20:42:56 -0500 Message-ID: <2215.1006479776@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200111/110 X-Sequence-Number: 2635 Jeff Waugh writes: > I have a database that was busy when it's server was rebooted. > Following is the output of postmaster -d4. It runs for about 15 minutes > and then core dumps. Do you want to let someone get in there and try to debug it? I suspect you are seeing some sort of bug in the WAL recovery code, but there's no way to find and fix it with only this much info. Somebody would need to go in with a debugger. > Any advice how I can get this database started again? If "getting up pronto" is more important than anything else, you could try resetting the xlog (see contrib/pg_resetxlog), and then manually scratching around to look for consistency problems. But please, before you do that, take a backup (eg tarfile dump) of your entire $PGDATA tree, so that we have the evidence available for debugging investigations. regards, tom lane