Solved

How to set Number connections for connection pooling

Posted on 2004-08-20
6
196 Views
Last Modified: 2010-04-06
Hi

iam getting the below error if iam trying to access my web site. This web site is running on Windows 2000 server and Database is MS SQL 2000.

Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.

In IIS, i had configuered number of connections to unlimited. Is there any other place to set the same and what is the minimum and maximum number of connections we can set.

regs
Mohan
0
Comment
Question by:mohanvamsi_g
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 2

Accepted Solution

by:
MGrassman earned 25 total points
ID: 11850888
If you are using Visual Studio.net 2003, and maybe other versions also, you can follow this link and that seems to be the fix.

http://support.microsoft.com/default.aspx?kbid=830118

Hope that helps.

0
 
LVL 2

Expert Comment

by:MGrassman
ID: 11850896
One more thing make sure you close all objects that were created and not being used any more.

cn.close
set cn = nothing

rs.close
set rs = nothing
0
 
LVL 7

Assisted Solution

by:jay_eire
jay_eire earned 25 total points
ID: 11863219
Hi Mohan
you can run Performance Monitor to see exactly what is happening with you connection pool ;

Connections Currently Active: The current number of connections being used by applications.
Connections Currently Free: The current number of connections available for connection requests.
Connections Sec/Hard: The number of connections made to data sources per second.
Connections Sec/Soft: The number of connections from the pool per second.
Disconnections Sec/Hard: The number of disconnects made to data sources per second.
Disconnections Sec/Soft: The number of disconnects from the pool per second

This TECH NET document will show you how to set it up
http://support.microsoft.com/default.aspx?scid=kb;EN-US;216950

The maximum amount of Threads in a pool depends on the power of your web server; If you are using ASP by default the number of  threads per processor is set at 10 . Here are some excellent TECH NET documents on  Monitoring and Fine Tuning Your Server http://www.microsoft.com/windows2000/techinfo/reskit/en-us/default.asp?url=/windows2000/techinfo/reskit/en-us/iisbook/c05_preventing_processor_bottlenecks.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdhowthreadsperprocessor.asp

From what I ember you can use IIS Administration Kit to really fine tune your web server, you can increase decease the number of threads available per processor.

Thanks
Jay Eire
(<>..<>)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Best way to find duplicate message in database 7 40
RSS Feed Validation 2 78
Create 4 <div> below each other in php 2 73
Form submit issue 11 91
When you work with shopping cart / ecommerce relates web sites, you need to pass the certain form post details to the payment gateway process page with required details for the products items you give to order. Also you may need to track the ordered…
Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question