Re: Socket CLOSE_WAIT state for a long time (days)

From: Henrik Nordstrom
Date: Fri Apr 15 2005 - 03:28:21 EST

On Thu, 14 Apr 2005, lucianolnx wrote:

Do someone could explain someting about socket that keeps its CLOSE_WAIT
state for a long time (like as 5 days or more) ?

CLOSE_WAIT is when the other endpoint have closed the connection and the kernel is vaiting for the application to confirm the close by closing the socket descriptor.

There is no timeout for CLOSE_WAIT. It persists for as long as the application has not closed the socket.

Whould be it a bug in the program ?


To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at