Re: Socket stuck in CLOSE_WAIT state

Steve Dodd (dirk@loth.demon.co.uk)
Tue, 27 Apr 1999 13:31:50 +0100


On Mon, Apr 26, 1999 at 11:30:22PM +0100, Alex Buell wrote:

> Seems if there's data in the queue, the socket will never close.
> This is on 2.2.6.
>
> Someone else reported the same thing with 2.2.5, he had a socket in
> CLOSE_WAIT over 7 days!

I reported this to Alan in December; I had connections stuck in CLOSE_WAIT for
a couple of weeks on 2.0.36. I'm not a TCP bod, tho', so I don't know if this
is a bug or a feature.

I quite understandably didn't get a response from Alan - either because
I didn't provide enough info or it just got lost in the huge torrent of email
he no doubt gets each day.

I started poking around in the tcp socket guts but it will no doubt be years
before I get up to speed on it all.

-- 
"Apathy is not the problem, it's the solution"

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/