Sleeping Connections

  • I am currently testing a ASP.NETapplication which uses SQL Server 2000. I notice that there a number of connections sleeping although every connection is explictly closed by the calling code. What is the cause of this and how can I get these connections to clear automatically?

    Thanks

     

     

  • It sounds like you have connection pooling enabled.

    Check the registry HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\ASP\Parameters

    for entry "StartConnectionPool", if the value is set to 1, ADO and ASP will utilize connection pooling.

     

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply