Possible Duplicate:
Huge amount of TIME_WAIT connections says netstat
I have 2167 connections like that:
tcp 0 0 127.0.0.1:34276 127.0.0.1:3306 TIME_WAIT
tcp 0 0 127.0.0.1:34910 127.0.0.1:3306 TIME_WAIT
tcp 0 0 127.0.0.1:3306 127.0.0.1:42749 TIME_WAIT
tcp 0 0 127.0.0.1:34871 127.0.0.1:3306 TIME_WAIT
tcp 0 0 127.0.0.1:34845 127.0.0.1:3306 TIME_WAIT
tcp 0 0 127.0.0.1:34018 127.0.0.1:3306 TIME_WAIT
tcp 0 0 127.0.0.1:35336 127.0.0.1:3306 TIME_WAIT
tcp 0 0 127.0.0.1:34617 127.0.0.1:3306 TIME_WAIT
tcp 0 0 127.0.0.1:3306 127.0.0.1:33750 TIME_WAIT
tcp 0 0 127.0.0.1:34072 127.0.0.1:3306 TIME_WAIT
tcp 0 0 127.0.0.1:34141 127.0.0.1:3306 TIME_WAIT
[root@saritasa semenov]# netstat -an | grep 127.0.0.1 | grep 3306 | wc
1360 8160 121040
Any ideas why and how can I resolve it?
Mysql SHOW PROCESSLIST; does give me just 5 connections. Any ideas?