Subject: Re: FIN_WAIT_2 and timeouts?
To: Jeremy C. Reed <reed@reedmedia.net>
From: Tracy Nelson <tnelson158@attbi.com>
List: netbsd-help
Date: 02/19/2002 16:43:59
From: "Jeremy C. Reed" <reed@reedmedia.net>
> > Where can I learn about the timeouts for FIN_WAIT_2?

The Apache docs give some information about FIN_WAIT_2.  Apparently, the
TCP/IP spec doesn't mandate a timeout when closing both sides of a
connection.  On systems that don't implement this timeout, connections can
hang indefinitely in FIN_WAIT_2.  They suggest getting the latest TCP/IP
patches for your distribution.  I'm not familiar enough with TCP stacks to
check the source and see what's up with NetBSD, maybe it's possible that a
timeout needs to be added.  Seems strange, though, I thought NetBSD had a
pretty good stack.