Posts
76
Comments
229
Trackbacks
7
Connection Pool timeout expired

A few days ago, we began to receive the following error - System.InvalidOperationException: 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.

Of course, two days before production release we began to receive the error above.  We could not reproduce under stressed conditions. The error occurred without any recognizable pattern and manual code reviews turned up empty. We opened a support call with MS and discovered the following:

.Net 2.0 introduced a new PerfMon counter – NumberOfReclaimedConnections. The counter indicates the # of connections that have been reclaimed through garbage collection where Close or Dispose was NOT CALLED by the application code.

Other ADO.Net counters - http://msdn2.microsoft.com/en-US/library/ms254503.aspx

We eventually found the code (off shore code that missed a code review).

posted on Friday, November 10, 2006 6:06 PM Print
Comments
Gravatar
# Avoid Drowning in the Connection Pool
drowningintechnicaldebt.com
11/14/2006 6:43 AM
  
Gravatar
# Performance counter "add" button disabled
drowningintechnicaldebt.com
5/26/2007 8:40 PM
  
Gravatar
# Performance counter "add" button disabled
cs.jaxdug.com
5/26/2007 8:40 PM
  
Gravatar
# re: Connection Pool timeout expired
JODIStephens31
8/24/2010 11:38 AM
  
Your superb topic connected with this good topic goes parallel with the thesis example. So, you can even work for dissertation writing service.
Gravatar
# re: Connection Pool timeout expired
RowenaDOTSON
12/24/2010 1:11 PM
  
Your issue about this topic seems to be best selling! Therefore students do not have to accomplish the thesis writing or just mini dissertation by their efforts, they could take your support.
Gravatar
# re: Connection Pool timeout expired
Wilcox24Saundra
7/15/2011 8:35 AM
  
I guess that you have to be awarded by some thesis service for your fantastic idea connected with this good topic. Not lots of people could make the same high quality economics dissertation.
Gravatar
# re: Connection Pool timeout expired
Diane27ESTES
10/13/2011 2:48 AM
  
The professional buy thesis is required by students in the world but everytime they require the dissertation service or only dissertation expert as this topic.
Gravatar
# re: Connection Pool timeout expired
exness
1/16/2012 10:22 AM
  
Nice post!

Post Comment

Title *
Name *
Email
Url
Comment *  
Please add 3 and 5 and type the answer here: