pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amir Zicherman <amir.zicherman@gmail.com>
To: pgsql-odbc@postgresql.org
Subject: can't open more than 128 connections
Date: Mon, 20 Jun 2005 01:39:44 -0400
Message-ID: <27a5b7d105061922394b00187c@mail.gmail.com> (raw)

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



view thread (9+ messages)  latest in thread

Message-ID: <27a5b7d105061922394b00187c@mail.gmail.com>
Permalink:  ../27a5b7d105061922394b00187c@mail.gmail.com/
Also on:    postgresql.org/message-id/27a5b7d105061922394b00187c@mail.gmail.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: amir.zicherman@gmail.com
  Subject: Re: can't open more than 128 connections
  In-Reply-To: <27a5b7d105061922394b00187c@mail.gmail.com>
  References: <27a5b7d105061922394b00187c@mail.gmail.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