Re: PostgreSQL hanging on new connections? - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Re: PostgreSQL hanging on new connections?
Date
Msg-id 20101129183353.GB8975@depesz.com
Whole thread Raw
In response to Re: PostgreSQL hanging on new connections?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Mon, Nov 29, 2010 at 01:23:00PM -0500, Tom Lane wrote:
> hubert depesz lubaczewski <depesz@depesz.com> writes:
> > straced postmaster when the problem was happening, and I was opening new
> > connections. strace looks like this:
> > [ backend hangs on semop immediately after reading global/pg_database ]
>
> It looks like something had exclusive lock on the database that new
> connections wanted to connect to.  AFAICS the only action in 8.3 that
> would do that would be a DROP DATABASE or RENAME DATABASE.  What was
> that other session doing?

verified in logs. there were no alter database or drop database
statements.

Best regards,

depesz

--
Linkedin: http://www.linkedin.com/in/depesz  /  blog: http://www.depesz.com/
jid/gtalk: depesz@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007

pgsql-general by date:

Previous
From: hubert depesz lubaczewski
Date:
Subject: Re: PostgreSQL hanging on new connections?
Next
From: Brar Piening
Date:
Subject: Re: "could not accept SSPI security context"