From: Kris Jurka <books@ejurka.com>
To: Michael Andreasen <michael@dunlops.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: DataSource.setMaxConnections() - Does not work
Date: Sat, 26 Sep 2009 09:51:12 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.0909260949001.2098@leary.csoft.net> (raw)
In-Reply-To: <c752d6bd0909260627lef23db4lc517c58de38b1ea0@mail.gmail.com>
References: <c752d6bd0909260625w46aee4fepdb10f3c79d7ae2be@mail.gmail.com>
<c752d6bd0909260627lef23db4lc517c58de38b1ea0@mail.gmail.com>
On Sat, 26 Sep 2009, Michael Andreasen wrote:
> Even though I set it at 3, if I look on the server I can see many more
> connections have been made?
The three connection limit is the most the datasource will open for you,
but it cannot prevent other people/processes from opening other
connections to the server. If you really believe all of these are being
opened by the datasource, perhaps you really have many instances of the
datasource, each of which will open up to three connections.
Kris Jurka
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: books@ejurka.com, michael@dunlops.com
Subject: Re: DataSource.setMaxConnections() - Does not work
In-Reply-To: <alpine.BSO.2.00.0909260949001.2098@leary.csoft.net>
References: <c752d6bd0909260625w46aee4fepdb10f3c79d7ae2be@mail.gmail.com> <c752d6bd0909260627lef23db4lc517c58de38b1ea0@mail.gmail.com> <alpine.BSO.2.00.0909260949001.2098@leary.csoft.net>
* 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