In the course of work about 1000 connections to base accumulate. Servers start to work worse. How to make what used old connections were torn?
The database is connected to the site via ODBC. More than 10,000 visitors per day. To the site in C #, using the using rules () {}, the MSSQL database is connected via ODBC. At the same time, on the MSSQL server, more than 400 connections and, accordingly, open sockets freeze, which are not used clearly or not.
The database is connected via ADO + ODBC from MSSQL to infox. There is even more fun, 1000 connections can be opened per day, and in the process of work it is often around 7000. It seems that ODBC does not have a garbage collector or it ignores the close / release command of the interfaces working with the DBMS.
Connect with MSSQL Provider = SQLOLEDB; Data Source = 10.0.0.79; Initial Catalog = mybase; User ID = user; Password = passw; Connect Timeout = 900; Command Timeout = 900
The connection with Informix is configured via alias and SetNet32. Server = myserv HostName = 10.0.0.200 Service = Turbo protocol = olsoctcp System on DBMS servers - windows-2008 server 64bit.