We have an application that seems to be having a hard time clearing connections. The vendor has acknowledged the problem and says it will corrected in the next release (mid-year). In the meantime, I have a mess. We can have as little as 40 people logged on to the application and we'll have upwards of 350 connections. After we get that many connections, users that are legitimately logged in start getting time outs and connection problems.
Yesterday, we kicked everyone out (still showed over 200 connections) then I went into SQL, detach database and clicked clear connections (I did not detach). Then we let everyone back in and that solved our problem. Of course give it a couple of days and we'll be stuck again.
My question is, is there a way I can script the connection clearing? So we can run this at night when no one is in the db? I can't stop the whole server cause other db's are in it working. Any ideas?
Thanks in advance,
Debi
Yesterday, we kicked everyone out (still showed over 200 connections) then I went into SQL, detach database and clicked clear connections (I did not detach). Then we let everyone back in and that solved our problem. Of course give it a couple of days and we'll be stuck again.
My question is, is there a way I can script the connection clearing? So we can run this at night when no one is in the db? I can't stop the whole server cause other db's are in it working. Any ideas?
Thanks in advance,
Debi