PC Review


Reply
Thread Tools Rate Thread

ASP.NET App Causing Sleeping Process in SQL Server

 
 
AMerrell
Guest
Posts: n/a
 
      29th Jul 2003
I have a ASP.NET App that is causing a bunch of sleeping process in
SQLserver. It sometimes causes the application to stop responding.

I've made sure that ll connections are being closed along with all
datareaders. Is there anything else that would cause a connection to stay
open?

Thanks,
AMerrell


 
Reply With Quote
 
 
 
 
niceguy
Guest
Posts: n/a
 
      29th Jul 2003
I had this problem a while back. It's quite annoying!

I believe the reason was that connection pooling is on by default. If I
remember correctly, you can turn it off by adding 'Pooling=false;' to your
sql connection string (but you may want to check the SDK to be sure).

Hope it helps...


"AMerrell" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have a ASP.NET App that is causing a bunch of sleeping process in
> SQLserver. It sometimes causes the application to stop responding.
>
> I've made sure that ll connections are being closed along with all
> datareaders. Is there anything else that would cause a connection to stay
> open?
>
> Thanks,
> AMerrell
>
>



 
Reply With Quote
 
Greg Low \(MVP\)
Guest
Posts: n/a
 
      31st Jul 2003
Yes, closing the connection does not destroy it by default as connection
pooling happens by default. Closing it just returns it to the pool.

HTH,

--
Greg Low (MVP)
MSDE Manager SQL Tools
www.whitebearconsulting.com

"niceguy" <(E-Mail Removed)> wrote in message
news:IUCVa.40600$(E-Mail Removed)...
> I had this problem a while back. It's quite annoying!
>
> I believe the reason was that connection pooling is on by default. If I
> remember correctly, you can turn it off by adding 'Pooling=false;' to your
> sql connection string (but you may want to check the SDK to be sure).
>
> Hope it helps...
>
>
> "AMerrell" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I have a ASP.NET App that is causing a bunch of sleeping process in
> > SQLserver. It sometimes causes the application to stop responding.
> >
> > I've made sure that ll connections are being closed along with all
> > datareaders. Is there anything else that would cause a connection to

stay
> > open?
> >
> > Thanks,
> > AMerrell
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Netgear PS101 print server - sleeping ? ps56k Printers 1 30th Oct 2008 06:42 PM
what process is causing internet connection server to dial... bell-lady Windows XP Help 0 16th May 2006 02:25 AM
Hw do I tell what's causing the system process to run 99% =?Utf-8?B?SG9zcw==?= Microsoft Windows 2000 2 3rd Jun 2005 08:23 PM
Activate "sleeping" local process... Ole Hanson Microsoft C# .NET 0 28th Jul 2004 07:21 AM
System Process is causing cpu to spike Heather Microsoft Windows 2000 1 20th Feb 2004 11:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:27 AM.