Skip site navigation (1) Skip section navigation (2)

Re: 9.1.3 backends getting stuck in 'startup'

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Frost <jeff(at)pgexperts(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: 9.1.3 backends getting stuck in 'startup'
Date: 2012-04-28 00:30:58
Message-ID: 9495.1335573058@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Jeff Frost <jeff(at)pgexperts(dot)com> writes:
> and I've got 81 more that do not contain bufmgr.c and are also not block on
> LWLockAcquire.

Hm ... no smoking gun in what you showed so far.  I also took another
look through 9.1 bufmgr.c, and I'm darned if I can see any code path
there that holds a buffer mapping lock for any long interval.

One possible theory is that you're using pg_buffercache_pages(), which
does take all those locks.  It tries its best to not hold them long,
but with a sufficiently large buffer cache there could be an issue.
(What is the shared_buffers setting on this installation, anyway?)

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Jeff FrostDate: 2012-04-28 00:45:43
Subject: Re: 9.1.3 backends getting stuck in 'startup'
Previous:From: Jeff FrostDate: 2012-04-27 21:57:36
Subject: Re: 9.1.3 backends getting stuck in 'startup'

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group