I am running on a Solaris system. I wrote a Korn shell script that every 30 seconds runs this line: netstat -a | grep TIME-WAIT | wc -l
This has been working fine for a year. Now I move into a new lab and when I run it the number of connections in the TIME-WAIT grows from 80 to 32000.
Most of these connections are to an ldap server running on a different box on the local network.
Has anybody seen this behavior before? How did you fix it?