Skip to contentSkip to conversation

CLOSE_WAIT bug?

DISCUSSION Andi Kleen 1 participant 1 message Apr 1, 2002 1 message not in the archive

lore
Share & tools
lore

Andi Kleen

author
#1 lore raw
In reply to a message not in the archive
Quoted 6 lines · Beng Asuncion

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