From: Nguyen, Lam Thuy <l7nguyen@fcg.com>
To: Nguyen, Lam Thuy <l7nguyen@fcg.com>
To: pgsql-odbc@postgresql.org
Subject: Re: can't open more than 128 connections
Date: Tue, 5 Feb 2008 21:42:41 +0700
Message-ID: <C3D5057033EDF145B90A99CD9025BFEA07EBAF@hont05.fcg.com> (raw)
References: <C3D5057033EDF145B90A99CD9025BFEA07EBAD@hont05.fcg.com>
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
This email may contain material that is confidential, privileged, and/or attorney work product for the sole use of the intended recipient. Any review, reliance, or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
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: l7nguyen@fcg.com
Subject: Re: can't open more than 128 connections
In-Reply-To: <C3D5057033EDF145B90A99CD9025BFEA07EBAF@hont05.fcg.com>
References: <C3D5057033EDF145B90A99CD9025BFEA07EBAD@hont05.fcg.com> <C3D5057033EDF145B90A99CD9025BFEA07EBAF@hont05.fcg.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