X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E9864D1E8E0 for ; Thu, 22 Jan 2004 10:33:03 +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 20273-08 for ; Thu, 22 Jan 2004 06:32:35 -0400 (AST) Received: from anchor-post-33.mail.demon.net (anchor-post-33.mail.demon.net [194.217.242.91]) by svr1.postgresql.org (Postfix) with ESMTP id 1E9B9D1D504 for ; Thu, 22 Jan 2004 06:32:33 -0400 (AST) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-33.mail.demon.net with esmtp (Exim 3.35 #1) id 1Ajc8Y-000HdW-0X; Thu, 22 Jan 2004 10:32:34 +0000 Received: by mainbox.archonet.com (Postfix, from userid 529) id 4298116D8D; Thu, 22 Jan 2004 10:32:33 +0000 (GMT) Received: from client17.archonet.com (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 9F11316C26; Thu, 22 Jan 2004 10:32:31 +0000 (GMT) From: Richard Huxton To: "Philippe Lang" , Subject: Re: Idle connections - Too many clients connected already Date: Thu, 22 Jan 2004 10:32:31 +0000 User-Agent: KMail/1.5 References: <6C0CF58A187DA5479245E0830AF84F420AFA50@poweredge.attiksystem.ch> In-Reply-To: <6C0CF58A187DA5479245E0830AF84F420AFA50@poweredge.attiksystem.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401221032.31478.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: 200401/82 X-Sequence-Number: 3711 On Thursday 22 January 2004 06:57, Philippe Lang wrote: > Hello, > > After using Postgresql for a while, through ODBC / MS Access, I'm not > able to connect to the server anymore. The server reports "Too many > clients connected already". [snip] > Is there a way to avoid that? I cannot certifiy that clients will always > close their connexions in a clean way. So, is the server able to check > if clients are still alive, and close their connection if it's not the > case? You can set a timeout for the ODBC on each client. I can't remember if this is in the odbc driver settings panel or where. Worst case, it's a registry setting. That should do what you want. -- Richard Huxton Archonet Ltd