SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Maximum count of allowed ODBC sessions are exceeded.


Maximum count of allowed ODBC sessions are exceeded.

Author
Message
bluefox
bluefox
Forum Newbie
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 Visits: 33
Hello,

I have an application that connects to a SQL 2005 ENT Database. The app (running on a cluster like environment) on average runs 131 concurrent connections. I notice in the app logs the following error:

Maximum count of allowed ODBC sessions are exceeded. (Current: 4, Preferred: 3) (FILE: Main.cpp LINE: 840)
RELEASED the ODBC sessions exceeding the maximum amount. (Current: 4, Preferred: 3)

Our SQL Server connections are set to "0" unlimited. Does anyone know it there is a setting somewhere in SQL or ODBC where I can increase the sessions limit?

I've searched around and found something about pooling?

Thanks so much!
PaulB-TheOneAndOnly
PaulB-TheOneAndOnly
SSCertifiable
SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)

Group: General Forum Members
Points: 5343 Visits: 4639
bluefox (6/13/2013)
I have an application that connects to a SQL 2005 ENT Database. The app (running on a cluster like environment) on average runs 131 concurrent connections. I notice in the app logs the following error:

Maximum count of allowed ODBC sessions are exceeded. (Current: 4, Preferred: 3) (FILE: Main.cpp LINE: 840)
RELEASED the ODBC sessions exceeding the maximum amount. (Current: 4, Preferred: 3)

Our SQL Server connections are set to "0" unlimited. Does anyone know it there is a setting somewhere in SQL or ODBC where I can increase the sessions limit?


Are the error messages on application log?
Is Apache involved?
If you got two "yes" answers this is an Apache issue, not a SQL Server one.

_____________________________________
Pablo (Paul) Berzukov

Author of Understanding Database Administration available at Amazon and other bookstores.

Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search