Windows 2008 Server SP2 64bit - TCP Connections never releasing after TIME_WAIT

Posted by Peco on Server Fault See other posts from Server Fault or by Peco
Published on 2010-11-10T16:15:49Z Indexed on 2011/01/04 10:55 UTC
Read the original article Hit count: 210

Hello fellow admins :)

We have an issue with Windows 2008 Datacenter edition SP2 64bit. We have a process that is polling very frequently and establishing new TCP connections. The system gets in a state where we end up with over 16k connections in TIME_WAIT state. The default OS timeout is 120 seconds after which these connections should go away, but that never happens. These connections persist and never get cleaned up even after the originating process has long terminated (we are still at 16k connections two days after the process was killed). The OS is supposed to time them out but it doesn't.

Has anyone else seen this behavior and if so what was done to resolve it. We are aware of how to tune the tcp stack to make the timeout shorter or allow more connections but this is not the issue here.

Thanks!

© Server Fault or respective owner

Related posts about Windows

Related posts about windows-server-2008