pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nikola Milutinovic <alokin1@yahoo.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Connection String
Date: Wed, 8 Mar 2006 08:46:40 -0800 (PST)
Message-ID: <20060308164640.38784.qmail@web54709.mail.yahoo.com> (raw)
In-Reply-To: <fc1bd8470603080842m3dce6e25n5d67a45f82d8b494@mail.gmail.com>

--- Rajeev Menon <rajeev.menon.b@gmail.com> wrote:

> Hi,
> 
> Thanks for the reply.
> 
> I have been monitoring the connections and at any point there does not seem
> to be more than 15 connections open...i have seen the speed drop even when
> 2-3 connections are open.
> 
> 
> On 3/8/06, Nikola Milutinovic <alokin1@yahoo.com> wrote:
> >
> > --- Rajeev Menon <rajeev.menon.b@gmail.com> wrote:
> >
> > > of the time the After Connection also come but occassionaly it just
> > shows a
> > > B4 connection line and waits and in the meantime as more and more users
> > > login more and more B4 connections come up and suddenly the connecion is
> > re
> > > established. Could somone help because this is slowin down the system
> >
> > Could it be that you are not closing connections?
> >
> > There is always a limit as to how many connections can be opened on the
> > server,
> > configurable, of course, but finite. Connections that are left hanging
> > could
> > have a close-if-idle behaviour, I'm not sure. Usually people complain that
> > they
> > cannot access DB after a while, if they are leaking connections. Or
> > perhaps
> > you're just droping them and JVM's garbage collector is kicking in from
> > time to
> > time, closing GCed connections.
> >
> > I'd sugest setting up a connection pool, Tomcat's DBCP is very
> > configurable,
> > even in the sense of lost connections, see it's "idle*" parameters.
> >
> > How many connections do you have to the server, when the slowdown occurs?

This is puzzling. With such low connection count, I can see no good reason for
this delay. Is there anything in the server logs?

Nix.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



view thread (2+ messages)

Message-ID: <20060308164640.38784.qmail@web54709.mail.yahoo.com>
Permalink:  ../20060308164640.38784.qmail@web54709.mail.yahoo.com/
Also on:    postgresql.org/message-id/20060308164640.38784.qmail@web54709.mail.yahoo.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-jdbc@postgresql.org
  Cc: alokin1@yahoo.com
  Subject: Re: Connection String
  In-Reply-To: <20060308164640.38784.qmail@web54709.mail.yahoo.com>
  References: <fc1bd8470603080842m3dce6e25n5d67a45f82d8b494@mail.gmail.com> <20060308164640.38784.qmail@web54709.mail.yahoo.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