Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SocketChannel created in CLOSE_WAIT and never cleaned up - REDUX

843790Aug 16 2006 — edited Jan 17 2008
Hi,
I am having the same issue as is described in the following bug:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6215050

My jvm is :
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing
running in a win2k3 environment

the bug is listed as closed/fixed, but it seems many people(including myself) are still having the same issue.

in a nutshell, i am accumulating connections on my tomcat servers that stay in a CLOSE_WAIT state...like this:
TCP 172.19.1.130:16002 172.19.1.130:8080 CLOSE_WAIT
TCP 172.19.1.130:16005 172.19.1.130:8080 CLOSE_WAIT
TCP 172.19.1.130:16006 172.19.1.130:8080 CLOSE_WAIT
TCP 172.19.1.130:16011 172.19.1.130:8080 CLOSE_WAIT
TCP 172.19.1.130:16012 172.19.1.130:8080 CLOSE_WAIT
TCP 172.19.1.130:16014 172.19.1.130:8080 CLOSE_WAIT
TCP 172.19.1.130:16015 172.19.1.130:8080 CLOSE_WAIT
TCP 172.19.1.130:16017 172.19.1.130:8080 CLOSE_WAIT
TCP 172.19.1.130:16019 172.19.1.130:8080 CLOSE_WAIT
TCP 172.19.1.130:16022 172.19.1.130:8080 CLOSE_WAIT
TCP 172.19.1.130:16023 172.19.1.130:8080 CLOSE_WAIT

i get so many that network stops functioning and i have to restart tomcat.

Does anyone know if this is being worked on by SUN??? Is there another bug report that they are doing their work on? Is there any work-around or fix?

please help, my production systems are not stable!

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 14 2008
Added on Aug 16 2006
9 comments
1,090 views