pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Waugh <jaw@ic.net>
To: pgsql-admin@postgresql.org
Subject: stuck spinlock
Date: Thu, 22 Nov 2001 12:50:59 -0500
Message-ID: <20011122125059.7ec431d3.jaw@ic.net> (raw)

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.

Any advice how I can get this database started again?

It is 7.1.3 on FreeBSD 4.2.

Thanks,
-Jeff


bin/postmaster: PostmasterMain: initial environ dump:
-----------------------------------------
	USER=postgres
	MAIL=/var/mail/postgres
	HOME=/usr/local/pgsql
	TERM=xterm
	BLOCKSIZE=K
	PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/usr/local/pgsql/bin
	SHELL=/bin/sh
	FTP_PASSIVE_MODE=YES
-----------------------------------------
invoking IpcMemoryCreate(size=9232384)
FindExec: found "/usr/local/pgsql/bin/postmaster" using argv[0]
DEBUG:  database system shutdown was interrupted at 2001-11-22 04:24:53 EST
DEBUG:  CheckPoint record at (13, 2652568836)
DEBUG:  Redo record at (13, 2652568836); Undo record at (0, 0); Shutdown TRUE
DEBUG:  NextTransactionId: 56354001; NextOid: 205527560
DEBUG:  database system was not properly shut down; automatic recovery in progress...
DEBUG:  ReadRecord: record with zero len at (13, 2652568900)
DEBUG:  redo is not required

FATAL: s_lock(0x30059219) at bufmgr.c:2048, stuck spinlock. Aborting.

FATAL: s_lock(0x30059219) at bufmgr.c:2048, stuck spinlock. Aborting.
bin/postmaster: reaping dead processes...
bin/postmaster: Startup proc 3436 exited with status 134 - abort




view thread (2+ messages)  latest in thread

Message-ID: <20011122125059.7ec431d3.jaw@ic.net>
Permalink:  ../20011122125059.7ec431d3.jaw@ic.net/
Also on:    postgresql.org/message-id/20011122125059.7ec431d3.jaw@ic.net

 · 

reply

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: jaw@ic.net
  Subject: Re: stuck spinlock
  In-Reply-To: <20011122125059.7ec431d3.jaw@ic.net>
  References: <20011122125059.7ec431d3.jaw@ic.net>

* 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