Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Oct 2009 11:24:07 -0400
From:      Martin Turgeon <freebsd@optiksecurite.com>
To:        freebsd-net@freebsd.org
Subject:   How can I get >100 connections in FIN_WAIT_2 state from the same IP?
Message-ID:  <4ACF5597.5000107@optiksecurite.com>

next in thread | raw e-mail | index | archive | help
Hi everyone,

I would like to know if anyone knows the reason why I get a lot of 
connections (more than 100) from the same IP in FIN_WAIT_2 state.

Refering to this diagram 
(http://www.jxos.org/Projects/TCP/tcpstate.html), the connection enter 
in FIN_WAIT_1 when the server closes the connection and in FIN_WAIT_2 
when the client ACK the FIN from the server. For the connection to stay 
in FIN_WAIT_2, the client must never send his FIN, right?

In this case the connections are on port 80. Is it a problem with the 
client's browser or OS? Is it possible that some mobile devices doesn't 
close their connections correctly to save bandwidth and battery?

I know this isn't specific to FreeBSD, but thanks for your answer anyway

Martin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ACF5597.5000107>