From: Richard Huxton <dev@archonet.com>
To: mohan@physics.gmu.edu, <pgsql-sql@postgresql.org>
Subject: Re: Postgres: MS Access and Tomcat
Date: Wed, 26 Nov 2003 17:27:23 +0000
Message-ID: <200311261727.23722.dev@archonet.com> (raw)
In-Reply-To: <62401.138.88.163.115.1069863643.squirrel@physics.gmu.edu>
References: <62401.138.88.163.115.1069863643.squirrel@physics.gmu.edu>
On Wednesday 26 November 2003 16:20, mohan@physics.gmu.edu wrote:
> Hi All
> I am using postgres database. Users of the DB include Web users thro tomcat
> and internal user thr'o MS Access. The problem is the users of Access
> sometimes do not close these connections and postgres fails saying too
> many connections for the web users. Is there a way i can resolve this by
> uncommenting the #Max_connections=32 in the postgresql.conf. What are the
> effects of uncommenting this part in postgresql.conf. Do i need to make
> any more changes when uncomment the Max_connections=32 in the
> postgresql.conf file
You can set max_connections higher, and unless your shared-buffer settings are
very low that should be fine.
Where you may encounter problems is if the Access users have open transactions
which can end up blocking other clients. I seem to recall a timeout option in
the ODBC manager that should disconnect them after a certain time.
--
Richard Huxton
Archonet Ltd
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: dev@archonet.com
Subject: Re: Postgres: MS Access and Tomcat
In-Reply-To: <200311261727.23722.dev@archonet.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