Re: PG connections going to 'waiting'

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alan McKay <alan(dot)mckay(at)gmail(dot)com>
Cc: Postgres General Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: PG connections going to 'waiting'
Date: 2009-09-05 14:57:07
Message-ID: 3380.1252162627@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alan McKay <alan(dot)mckay(at)gmail(dot)com> writes:
> I've got Munin installed on all my systems, so was able to get some
> interesting data around the big crash we had last night. We'd
> thought it was simply a matter of our DB connections maxing out, but
> it looks a bit more complex than that. A good 2 or 3 hours before the
> connections max (at 300), about 80% of them go to 'waiting'. I'm
> wondering what other data I should be looking at to see why.

pg_locks? Somebody taking exclusive lock on a widely-used table might
explain that.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alan McKay 2009-09-05 15:29:48 Re: PG connections going to 'waiting'
Previous Message Alan McKay 2009-09-05 12:11:09 PG connections going to 'waiting'