Sockets stuck in FIN_WAIT_1

David Malone dwmalone at maths.tcd.ie
Fri May 30 08:47:28 UTC 2008


On Fri, May 30, 2008 at 06:11:43PM +1000, Peter Jeremy wrote:
> A real solution would require more thought.  I suspect you need a
> mechanism similar to the keepalive timer that starts when there is
> data queued and is reset when (some) data is sent - this would catch
> your situation but I'm not sure if it's a general solution.  I'm not
> sure if one of the existing TCP timers could be (ab)used to achieve
> this.

There has been some talk about this sort of problem on the IETF TCP
Maintainers list. I don't think any good conclusion was reached -
whatever the solution was certainly needs to be tunable per-socket
because this behaviour is perfectly valid in some situations but a
bit of a pain in others.

	David.


More information about the freebsd-stable mailing list