From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Waugh <jaw@ic.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: stuck spinlock
Date: Thu, 22 Nov 2001 20:42:56 -0500
Message-ID: <2215.1006479776@sss.pgh.pa.us> (raw)
In-Reply-To: <20011122125059.7ec431d3.jaw@ic.net>
References: <20011122125059.7ec431d3.jaw@ic.net>
Jeff Waugh <jaw@ic.net> 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
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, jaw@ic.net
Subject: Re: stuck spinlock
In-Reply-To: <2215.1006479776@sss.pgh.pa.us>
References: <20011122125059.7ec431d3.jaw@ic.net> <2215.1006479776@sss.pgh.pa.us>
* 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