From: foo@bar.baz (Rick Jones)
Subject: Re: Heavy system load <-> tcp-problems?
Date: 1998/03/13 [thread overview]
Message-ID: <6e9v4p$oon$1@ocean.cup.hp.com> (raw)
In-Reply-To: 3506AEAF.2A706FF4@netvigator.com
David Lee (davidskl@netvigator.com) wrote:
: A lot of TIME_WAIT means the three way TCP hand shaking doesn't
TIME_WAIT is the state a TCP connection will go into *after* the
three-way handshake is complete. (Actually, only the side that
initiated the handshake goes into TIME_WAIT). TIME_WAIT is an integral
part of TCP's correctness algorithms. The shorter the TIME_WAIT, the
more likely undetected data corruption could occur.
FIN_WAIT_1 is an active retransmission state - the TCP connection is
waiting for the remote to ACK the FIN. This will either transition to
FIN_WAIT_2 after an ACK is recieved, or will retransmit timeout and
die.
FIN_WAIT_2 is a passive state where TCP is waiting for the remote to
send a FIN. Unless a timer is enabled, the connection will stay here
"forever" if the remote system simply goes away. If the three-way
handshake does not complete, this is a possible state to be left in. I
think the other is LAST_ACK.
I suspect that many FIN_WAIT_2 states (if not 90%) are the result of
silly client software (eg browsers) using abortive closes. Abortive
closes send a RST (reset) segment instead of a FIN (the graceful
close). RST's are not retransmitted, so if the RST is lost, the remote
will never see another one unless it is sending data (which by
definition it is not doing if it is in FIN_WAIT_2). If the RST is not
lost, it short circuits the TIME_WAIT state and thus part of TCP's
correctness algorithms.
Do the net a favor - pester your Internet software vendor to *not* use
abortive closes.
rick jones
--
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to email, or post, but please do not do both...
next prev parent reply other threads:[~1998-03-13 5:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-11 5:00 Heavy system load <-> tcp-problems? Eric Heymann
1998-03-11 5:00 ` Michael Gros
1998-03-11 5:00 ` David Lee
1998-03-13 5:00 ` Jeffrey Mogul
1998-03-13 5:00 ` Rick Jones [this message]
1998-03-13 5:00 ` Marc Slemko
1998-03-17 5:00 ` Rick Jones
1998-03-11 5:00 ` John McIntire
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox