X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CCA3B8B9DFB for ; Wed, 16 Feb 2005 18:19:17 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 29158-09 for ; Wed, 16 Feb 2005 18:18:48 +0000 (GMT) Received: from jdoherty.net (cdm-208-180-124-109.gtwn.cox-internet.com [208.180.124.109]) by svr1.postgresql.org (Postfix) with SMTP id 1057B8B9BD6 for ; Wed, 16 Feb 2005 18:18:38 +0000 (GMT) Received: (qmail 9297 invoked from network); 16 Feb 2005 19:17:54 -0000 Received: from unknown (HELO PCDOHERTY) (172.16.1.21) by 172.16.1.21 with SMTP; 16 Feb 2005 19:17:54 -0000 Message-ID: <00b301c51453$ef69da20$68363c90@ad.tri.sbc.com> From: "James M Doherty PGADMIN" To: Subject: Connection Pooling Problems Date: Wed, 16 Feb 2005 12:18:37 -0600 MIME-Version: 1.0 Content-Type: multipart/related; type="multipart/alternative"; boundary="----=_NextPart_000_00AF_01C51421.A45CF940" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.003 tagged_above=0 required=5 tests=AWL, EXTRA_MPART_TYPE, FORGED_RCVD_HELO, HTML_MESSAGE, RAZOR2_CF_RANGE_51_100, RAZOR2_CHECK, RCVD_BY_IP X-Spam-Level: * X-Archive-Number: 200502/78 X-Sequence-Number: 4968 This is a multi-part message in MIME format. ------=_NextPart_000_00AF_01C51421.A45CF940 Content-Type: multipart/alternative; boundary="----=_NextPart_001_00B0_01C51421.A45CF940" ------=_NextPart_001_00B0_01C51421.A45CF940 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I have an application that uses the ODBC interface from a window XP = machine. I have set connection pooling on the pgsql driver to on with a timeout of 120 seconds. This is being called from an Excel spread = sheet. When the user refreshes the spread sheet I get hundreds of=20 connections logged in /var/log/messages from the user. There are about = 200 queries which try to execute at close to the same time.=20 As a temporary measure I have increased the number of simultaneous = connections to 500 to support this, however it does not look like=20 connection pooling is working correctly. Any ideas on how I might = diagnose this, or is there a known fix for this type of problem. I am running 7.4 and 7.03.01.00 of the ODBC driver. Thanks for any help you can give me ! Jim James M Doherty jim@jdoherty.net=20 Georgetown, TX 78626 "There is no luck without discipline" IRISH PROVERB ------=_NextPart_001_00B0_01C51421.A45CF940 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
I have an application that uses the ODBC interface from a window XP = machine. I have set connection pooling on the pgsql driver to on = with
a timeout of 120 seconds. This is being called from an Excel spread = sheet.=20 When the user refreshes the spread sheet I get hundreds of
connections logged in /var/log/messages from the user. There are = about 200=20 queries which try to execute at close to the same time.
 
As a temporary measure I have increased the number of simultaneous=20 connections to 500 to support this, however it does not look like
connection pooling is working correctly. Any ideas on how I might = diagnose=20 this, or is there a known fix for this type of problem.
 
I am running 7.4 and 7.03.01.00 of the ODBC driver.
 
Thanks for any help you can give me !
 
Jim
 
 
 
James M Doherty
jim@jdoherty.net=20
Georgetown, TX 78626
"There is no luck without discipline" IRISH=20 PROVERB
------=_NextPart_001_00B0_01C51421.A45CF940-- ------=_NextPart_000_00AF_01C51421.A45CF940 Content-Type: image/gif; name="tech.gif" Content-Transfer-Encoding: base64 Content-ID: <00ae01c51453$eef76940$68363c90@ad.tri.sbc.com> R0lGODlhFAAUAPcAAP//////zP//mf//Zv//M///AP/M///MzP/Mmf/MZv/MM//MAP+Z//+ZzP+Z mf+ZZv+ZM/+ZAP9m//9mzP9mmf9mZv9mM/9mAP8z//8zzP8zmf8zZv8zM/8zAP8A//8AzP8Amf8A Zv8AM/8AAMz//8z/zMz/mcz/Zsz/M8z/AMzM/8zMzMzMmczMZszMM8zMAMy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