> From: Zoran Avtarovski [mailto:zo...@sparecreative.com] 
> Subject: Re: Help in diagnosing server unresponsiveness

> I'm wondering if it could be GC related as the crashes often follow 
> periods of heavy use.

> Is there a way to trigger gather relevant data when Tomcat crashes?

Typically it's too late at that point.  You might want to try these command 
line options to see what's happening to the heap (assuming that heap exhaustion 
is a factor):

-Xloggc:<filename>
-XX:+PrintGCDetails

You can also use these to capture the heap if and when an OOME occurs:

-XX:HeapDumpPath=<filename>
-XX:+HeapDumpOnOutOfMemoryError

 - 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