X-Original-To: pgsql-odbc@postgresql.org Received: from mail.reviewer.co.uk (frodo.reviewer.co.uk [213.232.121.13]) by postgresql.org (Postfix) with SMTP id 7F5D9475956 for ; Wed, 5 Mar 2003 20:11:37 -0500 (EST) Received: (qmail 8162 invoked from network); 6 Mar 2003 01:11:34 -0000 Received: from unknown (HELO LAIKA) (62.49.176.243) by mail.reviewer.co.uk with SMTP; 6 Mar 2003 01:11:34 -0000 From: "Robert John Shepherd" To: Subject: Connection pooling Date: Thu, 6 Mar 2003 01:11:33 -0000 Message-ID: <001201c2e37d$54351fa0$f3b0313e@LAIKA> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Archive-Number: 200303/15 X-Sequence-Number: 2734 I still suffer from a problem relating to connection pooling with the ODBC driver. I have a finite number of connections allowed on my pgsql server which is ample for my website 99% of the time. However whenever there is an interruption of network data between my web server and db server, this seems to result in a sudden huge increase in connection attempts which quickly exceeds the number available. This also happens whenever I do something that ties up the db server for any length of time on a single query, such as rebuilding tsearch indexes. I'm presuming this is related to our website users getting frustrated and clicking refresh, causing a new connection attempt each time. Is this a valid assessment of the situation? And if so is there any solution? I'd far rather my web server just waited for an existing connection to become available when its at the limit than get an instant refusal. :/ Slow webpages are better than no webpages or ones with errors all over them (or in our case ones inviting our users to email us and let us know its borked!). Yours Unwhettedly, Robert John Shepherd. Editor DVD REVIEWER The UK's BIGGEST Online DVD Magazine http://www.dvd.reviewer.co.uk For a copy of my Public PGP key, email: pgp@robertsworld.org.uk