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 C3893528D0 for ; Mon, 20 Jun 2005 02:39:48 -0300 (ADT) 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 26472-10 for ; Mon, 20 Jun 2005 05:39:45 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by svr1.postgresql.org (Postfix) with ESMTP id 3C09E52812 for ; Mon, 20 Jun 2005 02:39:44 -0300 (ADT) Received: by zproxy.gmail.com with SMTP id 12so402462nzp for ; Sun, 19 Jun 2005 22:39:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=VXqUEjsZW9ph0vFFCycabJyhTZU2fI2KHP3qzR/94ZEVUKkX+phQrl3/QVnlCyV8lDIcACeEwe2+pIx4+9kbTAUqw1WcqLXbOeoFsyXXXQ0/3D0p2NJ/Rr3wbzQB8lMFzPWp3mI+5R73731GQvMQEAYw4KfD6vnRugE/o4/TnGU= Received: by 10.36.24.7 with SMTP id 7mr2901273nzx; Sun, 19 Jun 2005 22:39:44 -0700 (PDT) Received: by 10.36.146.14 with HTTP; Sun, 19 Jun 2005 22:39:44 -0700 (PDT) Message-ID: <27a5b7d105061922394b00187c@mail.gmail.com> Date: Mon, 20 Jun 2005 01:39:44 -0400 From: Amir Zicherman Reply-To: Amir Zicherman To: pgsql-odbc@postgresql.org Subject: can't open more than 128 connections Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.099 tagged_above=0 required=5 tests=AWL, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200506/65 X-Sequence-Number: 5452 hello, I'm trying to open 300 connections to a database using Microsoft odbc .NET and psqlodbc. At the 129th connection attempt i get an exception: {"ERROR [IM005] [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_DBC failed" } State: "IM005" I know that my db can take over 300 connections without using the odbc driver because i open 300 connections with psql with no problem. Is there some config param i need to set on the connection string so that i can take more connections? what am i doing wrong? thank you, amir