> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: CLOSE_WAIT and what to do about it
> 
> If these sockets disappear during a GC, then it must mean that they are
> still being referenced by some "abandoned" objects sitting on the Heap,
> which have not yet been reclaimed by the GC.
> Which probably means that the objects in question have gone out of
> scope, before the socket they used was properly close()'d.

Your analysis looks reasonable to me.  There are some analysis tools that will 
examine a live heap (or dump thereof) and find the reachable and unreachable 
objects; jhat is a free one that comes with JDK 6:
http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/tooldescr.html#gblfj

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to