webbukkit/dynmap — Issue #625: Connections Stuck in FIN_WAIT2
Author: seanmrice
Created: 2012-02-24 20:17:28+00:00
State: open

Occasionally I have noticed that the server is not shutting down connections, and they are subsequently listed via netstat as being in the FIN_WAIT2 status. From what I can find online about it, it seems that the server is not finishing the shutdown of the connections, and therefore keeping them open. Output is similar to as follows (note that IP addresses have been censored):

netstat -anp | grep 5.6.7.8
tcp6 0 0 1.2.3.4:8123 5.6.7.8:55863 FIN_WAIT2 32465/java
tcp6 0 0 1.2.3.4:8123 5.6.7.8:55858 FIN_WAIT2 32465/java
tcp6 0 0 1.2.3.4:8123 5.6.7.8:55859 FIN_WAIT2 32465/java
tcp6 0 0 1.2.3.4:8123 5.6.7.8:55857 FIN_WAIT2 32465/java