Sh M
asked on
How to automatically kill the processes with 'sleeping' status on sql server?
Hi,
I have purchased a .net application using sql server2000. The application was running fine on my local machine until I put it on the web server. I started to get error message:
"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"
Given that the error may have been related to 'connection leak', I checked the processes on the SQL server and noticed there are many processes created and they were all in sleeping status.
On the web server some of these proceses were dated to 2-3 days ago.
however on my local machine, same number of proceses are created but SQL server automatically kills theses processes in about 10 minutes interval. I noticed that on SQL profiler when 'Audit logout' executed.
this is not happening on the web server.
looking at the properties of the two sql server and security tab, the audit level is set to none fro both.
How can I fix the SQL server set up on the server so that I get these proceses cleaned up quickly?
Thanks in advance
I have purchased a .net application using sql server2000. The application was running fine on my local machine until I put it on the web server. I started to get error message:
"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"
Given that the error may have been related to 'connection leak', I checked the processes on the SQL server and noticed there are many processes created and they were all in sleeping status.
On the web server some of these proceses were dated to 2-3 days ago.
however on my local machine, same number of proceses are created but SQL server automatically kills theses processes in about 10 minutes interval. I noticed that on SQL profiler when 'Audit logout' executed.
this is not happening on the web server.
looking at the properties of the two sql server and security tab, the audit level is set to none fro both.
How can I fix the SQL server set up on the server so that I get these proceses cleaned up quickly?
Thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.