Re: Connection Limit

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Jon Horsman" <horshaq(at)gmail(dot)com>
Cc: "sql pgsql" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Connection Limit
Date: 2007-07-30 22:20:07
Message-ID: dcc563d10707301520i1f561703q88427e5408b83933@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 7/30/07, Jon Horsman <horshaq(at)gmail(dot)com> wrote:
> Hello,
>
> I have a server running postgres 7.4.13 and am starting to see errors
> "FATAL: connection limit exceeded for non-superusers".
>
> I'm not sure which one of my applications are hogging all of the
> connections, is there a way debug this somehow?

try netstat -an|grep 5432

assuming you're running pgsql on port 5432. The nice thing about this
trick is that since postgresql uses /tmp/.s.PGSQL.5432 for local
connections, you'll see those too.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Milen A. Radev 2007-07-31 00:34:59 Re: Table-name as parameter to plpgsql
Previous Message Andrew Sullivan 2007-07-30 21:51:05 Re: Connection Limit