Click here to Skip to main content
15,902,811 members
Home / Discussions / Database
   

Database

 
GeneralRe: Altering a table with SQL manager 2008 Pin
Wendelius24-Sep-08 9:58
mentorWendelius24-Sep-08 9:58 
GeneralRe: Altering a table with SQL manager 2008 Pin
Paw Jershauge24-Sep-08 10:01
Paw Jershauge24-Sep-08 10:01 
GeneralRe: Altering a table with SQL manager 2008 Pin
Wendelius24-Sep-08 10:15
mentorWendelius24-Sep-08 10:15 
GeneralRe: Altering a table with SQL manager 2008 Pin
Paw Jershauge24-Sep-08 10:17
Paw Jershauge24-Sep-08 10:17 
QuestionSAVE PIC IMAGE IN SQL Pin
NasirLCCI200723-Sep-08 23:54
NasirLCCI200723-Sep-08 23:54 
AnswerRe: SAVE PIC IMAGE IN SQL Pin
Giorgi Dalakishvili24-Sep-08 0:24
mentorGiorgi Dalakishvili24-Sep-08 0:24 
Questionhow to open other systems back up file into my database in sql server 2005 Pin
Roney23-Sep-08 23:43
Roney23-Sep-08 23:43 
QuestionConnection Pooling nightmare - Timeout Expired! Pin
Meysam Mahfouzi23-Sep-08 23:07
Meysam Mahfouzi23-Sep-08 23:07 
I am having kinda the same problem as the one already mentioned here:
Connection Pooling nightmare[^]

This is what's happening for me. Suppose that I've got a connection pool with minimum size of 10 and maximum size of 50. I'm monitoring the connections to database using SP_WHO stored procedure as well. When the first request is made to the web site, I can see that 10 connections are created in the pool. The thing that is confusing me is that by making a few subsequent requests, new connections are added to the pool even though all of 10 initial connections are in 'sleeping' mode and 'AWAITING COMMAND' as executing SP_WHO tells me. By executing subsequent calls to database the size of pool grows until it reaches the maximum number of connections (say 50). From this point on, any attempt for connecting to database results in the following exception:

DAL: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. 


This is happening while there are 50 connections in the pool whose status is 'sleeping' and AWAITING COMMAND.

I'm using Microsoft Enterprise Library (which I think automatically handles closing connections for me), and wherever I use DataReader, I am closing it in a finally block.
Am I missing something? Please somebody help me!

_

AnswerRe: Connection Pooling nightmare - Timeout Expired! Pin
Mark Churchill23-Sep-08 23:15
Mark Churchill23-Sep-08 23:15 
AnswerRe: Connection Pooling nightmare - Timeout Expired! Pin
Meysam Mahfouzi24-Sep-08 0:00
Meysam Mahfouzi24-Sep-08 0:00 
AnswerRe: Connection Pooling nightmare - Timeout Expired! Pin
Ashfield23-Sep-08 23:37
Ashfield23-Sep-08 23:37 
GeneralRe: Connection Pooling nightmare - Timeout Expired! Pin
Meysam Mahfouzi24-Sep-08 0:01
Meysam Mahfouzi24-Sep-08 0:01 
QuestionNeed a quick moving average sql Pin
followait23-Sep-08 22:58
followait23-Sep-08 22:58 
QuestionSynchronization Pin
sirisha guttikonda23-Sep-08 21:26
sirisha guttikonda23-Sep-08 21:26 
AnswerRe: Synchronization Pin
vimal_yet23-Sep-08 21:35
vimal_yet23-Sep-08 21:35 
AnswerRe: Synchronization Pin
Wendelius24-Sep-08 12:21
mentorWendelius24-Sep-08 12:21 
Questionhow to sort on text data type column ? Pin
King Shez23-Sep-08 20:41
King Shez23-Sep-08 20:41 
AnswerRe: how to sort on text data type column ? Pin
Blue_Boy23-Sep-08 21:09
Blue_Boy23-Sep-08 21:09 
GeneralRe: how to sort on text data type column ? Pin
King Shez24-Sep-08 0:02
King Shez24-Sep-08 0:02 
AnswerRe: how to sort on text data type column ? Pin
Wendelius24-Sep-08 11:04
mentorWendelius24-Sep-08 11:04 
Questionproblem with select within select Pin
wajans23-Sep-08 20:12
wajans23-Sep-08 20:12 
AnswerRe: problem with select within select Pin
Blue_Boy23-Sep-08 22:19
Blue_Boy23-Sep-08 22:19 
AnswerRe: problem with select within select Pin
wajans23-Sep-08 22:24
wajans23-Sep-08 22:24 
AnswerRe: problem with select within select Pin
Ashfield24-Sep-08 0:00
Ashfield24-Sep-08 0:00 
Questionreport procedure (advice) Pin
nelsonpaixao23-Sep-08 14:02
nelsonpaixao23-Sep-08 14:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.