pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Philippe Lang <philippe.lang@attiksystem.ch>
To: pgsql-odbc@postgresql.org
Subject: Re: Idle connections - Too many clients connected already
Date: Thu, 22 Jan 2004 10:32:31 +0000
Message-ID: <200401221032.31478.dev@archonet.com> (raw)
In-Reply-To: <6C0CF58A187DA5479245E0830AF84F420AFA50@poweredge.attiksystem.ch>
References: <6C0CF58A187DA5479245E0830AF84F420AFA50@poweredge.attiksystem.ch>

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



view thread (3+ messages)  latest in thread

Message-ID: <200401221032.31478.dev@archonet.com>
Permalink:  ../200401221032.31478.dev@archonet.com/
Also on:    postgresql.org/message-id/200401221032.31478.dev@archonet.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-odbc@postgresql.org
  Cc: dev@archonet.com, philippe.lang@attiksystem.ch
  Subject: Re: Idle connections - Too many clients connected already
  In-Reply-To: <200401221032.31478.dev@archonet.com>
  References: <6C0CF58A187DA5479245E0830AF84F420AFA50@poweredge.attiksystem.ch> <200401221032.31478.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