pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Koczan <pjkoczan@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: trouble restarting a server
Date: Tue, 22 May 2007 16:05:30 -0500
Message-ID: <4544e0330705221405w5c5a5eb2n5df936e7987cae97@mail.gmail.com> (raw)
In-Reply-To: <192.1179790145@sss.pgh.pa.us>
References: <4544e0330705211457k30c0cd40oec47e830a0791a9d@mail.gmail.com>
	<192.1179790145@sss.pgh.pa.us>

The release is 8.2.4. I haven't been able to reproduce the condition yet,
but I will send along stack traces as soon as I can. I have this strange
feeling that it's only going to happen when I find a reason to make a
restart-worthy config change.

Peter

On 5/21/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> "Peter Koczan" <pjkoczan@gmail.com> writes:
> > [ lots of processes stuck in "notify interrupt" code ]
>
> That's weird.  If it's still in that state, or if you can reproduce it,
> could you attach to a few of those processes with gdb and get stack
> traces?
>
> Looking at the async.c code, an obvious candidate is that that routine
> tries to take ExclusiveLock on pg_listener --- so if something had
> managed to exit without releasing a lock on that table, hangups could be
> expected.  But if that were the case, you'd think the process status
> lines would include "waiting".  My guess is they're blocked on something
> lower-level than a table lock, but without a stack trace it's hard to
> guess what.
>
> Which PG release is this exactly?
>
>                         regards, tom lane
>

view thread (4+ messages)  latest in thread

Message-ID: <4544e0330705221405w5c5a5eb2n5df936e7987cae97@mail.gmail.com>
Permalink:  ../4544e0330705221405w5c5a5eb2n5df936e7987cae97@mail.gmail.com/
Also on:    postgresql.org/message-id/4544e0330705221405w5c5a5eb2n5df936e7987cae97@mail.gmail.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: pjkoczan@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: trouble restarting a server
  In-Reply-To: <4544e0330705221405w5c5a5eb2n5df936e7987cae97@mail.gmail.com>

* 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