FIN_WAIT_2 problem
Posted: Wed Jul 02, 2008 10:39 pm
Hi, I'm using UE 2.1 under XP Pro SP3 (5512). I have one NG server and two tasks. Even when idle, UE continually creates sockets which are abandoned in a half-open state before the program is terminated. When the number reaches around 110, my ISP blocks further access. Terminating the program and waiting as long as 48 hours does not destroy the sockets; I have to restart Windows (every 5 or 6 days). I have set HKLM...TimedWaitDelay to 120, which helps with TIME_WAIT, but not FIN_WAIT_2. Why does UE accumulate connections while doing nothing but getting new headers, and whose responsibility is it to close them?
This is what it looks like after the program is started and left alone for 15 hours:
C:\>netstat -o
Active Connections
Proto Local Address Foreign Address State PID
TCP xpp:1246 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:1247 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:1488 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:1751 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:1985 nnrp-virt.nntp.sonic.net:nntp ESTABLISHED 5152
TCP xpp:2776 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:2777 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:2819 nnrp-virt.nntp.sonic.net:nntp TIME_WAIT 0
TCP xpp:2892 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:3086 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:3412 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:3510 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:3511 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:4496 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
C:\>tasklist /fi "PID eq 5152"
Image Name PID Session Name Session# Mem Usage
========================= ====== ================ ======== ============
UE.exe 5152 Console 0 118,336 K
C:\>
Thanks for any suggestions!
-Steve
This is what it looks like after the program is started and left alone for 15 hours:
C:\>netstat -o
Active Connections
Proto Local Address Foreign Address State PID
TCP xpp:1246 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:1247 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:1488 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:1751 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:1985 nnrp-virt.nntp.sonic.net:nntp ESTABLISHED 5152
TCP xpp:2776 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:2777 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:2819 nnrp-virt.nntp.sonic.net:nntp TIME_WAIT 0
TCP xpp:2892 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:3086 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:3412 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:3510 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:3511 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
TCP xpp:4496 nnrp-virt.nntp.sonic.net:nntp FIN_WAIT_2 5152
C:\>tasklist /fi "PID eq 5152"
Image Name PID Session Name Session# Mem Usage
========================= ====== ================ ======== ============
UE.exe 5152 Console 0 118,336 K
C:\>
Thanks for any suggestions!
-Steve