Re: Connection pool close timeout
From: Kevin Yu [MSFT] (v-kevy_at_online.microsoft.com)
Date: 02/03/04
- Next message: Julian: "Re: Best way to map corresponding columns of two identical tables"
- Previous message: William Ryan eMVP: "Re: removing items from a combobox"
- In reply to: William Ryan eMVP: "Re: Connection pool close timeout"
- Next in thread: William \(Bill\) Vaughn: "Re: Connection pool close timeout"
- Reply: William \(Bill\) Vaughn: "Re: Connection pool close timeout"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 03 Feb 2004 02:00:01 GMT
Thanks for William's quick response.
Hi Kevin,
Thank you for posting in the community!
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to confirm the 5 minutes'
connection lifetime in ADO.NET. If there is any misunderstanding, please
feel free to let me know.
As far as I know, the default value for the connection lifetime is '0'.
When a connection is returned to the pool, its creation time is compared
with the current time, and the connection is destroyed if that time span
(in seconds) exceeds the value specified by Connection Lifetime. This is
useful in clustered configurations to force load balancing between a
running server and a server just brought online. A value of zero (0) causes
pooled connections to have the maximum connection timeout. So please check
your connection string and see if the value of Connection Lifetime has been
set to 5 minutes.
Here is a link with more information about Connection Lifetime property in
connection string for your reference:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemdatasqlclientsqlconnectionclassconnectionstringtopic.asp
Does this answer your question? If anything is unclear, please feel free to
reply to the post.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
- Next message: Julian: "Re: Best way to map corresponding columns of two identical tables"
- Previous message: William Ryan eMVP: "Re: removing items from a combobox"
- In reply to: William Ryan eMVP: "Re: Connection pool close timeout"
- Next in thread: William \(Bill\) Vaughn: "Re: Connection pool close timeout"
- Reply: William \(Bill\) Vaughn: "Re: Connection pool close timeout"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|