Re: CLOSE_WAIT bug?

Andi Kleen (ak@suse.de)
01 Apr 2002 19:05:10 +0200


Beng Asuncion <asmismn1@globalsources.com> writes:

> Dear List,
>
> We are using 2.4.17 kernel for our Production machines running JRun/Java
> applications + Apache. We are encountering a lot of CLOSE_WAITs like the
> following before our JRun applications die (port 53001 is the Jrun
> port):

You can do a very simple test: if you kill your application completely
(= killing all threads and processes that could keep a socket open)
and then wait a few minutes the CLOSE_WAITs should go away. If they do
it's not a kernel problem and you just need to fix the application
to close sockets properly.

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