pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gourish Singbal <gourish@gmail.com>
To: PgSQL Admin <pgsql-admin@postgresql.org>
Subject: lots of idle connections open by application
Date: Mon, 25 Apr 2005 15:51:15 +0530
Message-ID: <674d1f8a05042503211b0ba14d@mail.gmail.com> (raw)

Hi guys,

We have an application using db-conection pooling through resin 2.1
connecting to postgresql 7.4.5 database We have seen that after some
time many connections are kept open in idle state. Sometimes the
connections reach the max_connections = 100 and hence no more clients
can connect to the database.

Guys,  Whats a reasonable solution to this problem... ?

-- 
Best,
Gourish Singbal



view thread (2+ messages)  latest in thread

Message-ID: <674d1f8a05042503211b0ba14d@mail.gmail.com>
Permalink:  ../674d1f8a05042503211b0ba14d@mail.gmail.com/
Also on:    postgresql.org/message-id/674d1f8a05042503211b0ba14d@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: gourish@gmail.com
  Subject: Re: lots of idle connections open by application
  In-Reply-To: <674d1f8a05042503211b0ba14d@mail.gmail.com>
  References: <674d1f8a05042503211b0ba14d@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