SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Connection Pooling on WinXP vs Win7
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JWZ
Starting Member

1 Posts

Posted - 09/25/2012 :  14:24:51  Show Profile  Reply with Quote
I have a vb.net client server app that runs fine on WinXP. On Win7, the same app throws a Timeout due to the Max Pool Size being reached.

Watching the pooled connections in SSMS, when the app is running on WinXP, the number of pooled connections raises and falls, like you'd expect.

On Win7, the number of pooled connections keeps growing until it reaches the maximum.

This is the exact same exe file. The only difference is the client it's running on. When I put a MsgBox in my application to stop it after processing 200 records, using SSMS, I see the following:

WinXP - 24 pooled connections
Win7 - 68 pooled connections

In SSMS I can that some of the existing connections appear to be reused on Win7, but the number just grows so fast that it hits the 100 connection number before it has a chance to either clean up old connections, or reuse existing ones. On the WinXP client, the number of pooled connections grows much more slowly and peaks around 70.

I'm at the edge of my knowledge on Pooled Connections.

Are there settings on Win7 that would affect this behavior?

Should I simply keep setting the ConnectionString pooled connections value high enough so that the limit isn't reached? (This feels like a kluge to me, but maybe it's what I have to do.)

Thanks for the help on this.

Joel

tkizer
Almighty SQL Goddess

USA
37291 Posts

Posted - 09/25/2012 :  14:31:02  Show Profile  Visit tkizer's Homepage  Reply with Quote
Sounds like a driver issue. I would recommend getting to the latest hotfix or whatever for the SQL driver you are using.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000