Received: from dsl081-018-114.sea1.dsl.speakeasy.net (dsl081-018-114.sea1.dsl.speakeasy.net [64.81.18.114]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fAMHp5m62614 for ; Thu, 22 Nov 2001 12:51:05 -0500 (EST) (envelope-from jwaugh@dsl081-018-114.sea1.dsl.speakeasy.net) Received: (from jwaugh@localhost) by dsl081-018-114.sea1.dsl.speakeasy.net (8.11.2/8.11.2) id fAMHoxW21516; Thu, 22 Nov 2001 12:50:59 -0500 (EST) Date: Thu, 22 Nov 2001 12:50:59 -0500 From: Jeff Waugh To: pgsql-admin@postgresql.org Subject: stuck spinlock Message-Id: <20011122125059.7ec431d3.jaw@ic.net> X-Mailer: Sylpheed version 0.6.2 (GTK+ 1.2.8; mips-sgi-irix6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200111/109 X-Sequence-Number: 2634 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