On Thu, 28 May 1998, Glynn Clements wrote:
>...
> According to Stevens, some BSD derived sytems implement a timeout on
> the FIN_WAIT_2 state. I would suspect that Linux does (although I
> don't know), as I've never encountered an accumulation of sockets in
> the FIN_WAIT_2 state.
Hmm.. this would explain why a "netstat -t" always has a heap of things in
that state. I just assumed it was part of some protocol that only needed
one-way communication or something. Just checked now, and there's nothing
in that state now, so there must be *some* timeout in linux.
Pete
> The RFC-specified behaviour would seem to suffer from the problem that
> if the remote end crashes, the local socket would be stuck in the
> FIN_WAIT_2 state forever.
>
> --
> Glynn Clements <[EMAIL PROTECTED]>
>
Pete Ryland Home phone: +61 2 9697 9262 Mobile: 014 035 802
email: [EMAIL PROTECTED] ICQ UIN: 4256333
WWW: http://www.pdr.ml.org ftp: ftp.pdr.ml.org