X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id F377CD1B442 for ; Wed, 26 Nov 2003 17:27:52 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 78799-07 for ; Wed, 26 Nov 2003 13:27:28 -0400 (AST) Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by svr1.postgresql.org (Postfix) with ESMTP id CDE54D1B448 for ; Wed, 26 Nov 2003 13:27:21 -0400 (AST) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-32.mail.demon.net with esmtp (Exim 3.35 #1) id 1AP3Rm-0007nJ-0W; Wed, 26 Nov 2003 17:27:27 +0000 Received: by mainbox.archonet.com (Postfix, from userid 529) id 23E53172A9; Wed, 26 Nov 2003 17:27:26 +0000 (GMT) Received: from client17.archonet.com (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 3E81017253; Wed, 26 Nov 2003 17:27:24 +0000 (GMT) From: Richard Huxton To: mohan@physics.gmu.edu, Subject: Re: Postgres: MS Access and Tomcat Date: Wed, 26 Nov 2003 17:27:23 +0000 User-Agent: KMail/1.5 References: <62401.138.88.163.115.1069863643.squirrel@physics.gmu.edu> In-Reply-To: <62401.138.88.163.115.1069863643.squirrel@physics.gmu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311261727.23722.dev@archonet.com> X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.15.3 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/297 X-Sequence-Number: 16112 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