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

From: David S. Miller
Date: Thu Apr 14 2005 - 14:20:22 EST


On Thu, 14 Apr 2005 16:08:43 -0300
lucianolnx <lucianolnx@xxxxxxxxx> wrote:

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

It means the application (your database in this case)
isn't closing the socket. The remote side has executed the
close, but your end isn't doing a close() or shutdown() on
the socket for some reason.

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html