File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Question on thread dump
Joined: Feb 27, 2009
May 15, 2009 02:57:19
In Unix, we give kill -3 <pid> three times to generate thread dump.
Why don't we give this command once or more than three times
Joined: Jan 06, 2001
May 15, 2009 07:43:45
You get 1(one and only one) thread dump with kill -3 <pid> wich is sent to standard out for the chosen server.
Usually it's recommended taking 3 thread dumps in an interval of about 1 minute because doing so allows us to track how the threads are flowing in the server in that interval.
I agree. Here's the link:
subject: Question on thread dump
possible causes for CPU spike
How to take core dump in weblogic server
Weblogic Thread dump
Apache HTTP server thread dump!
Taking thread dump of Weblogic 8.1 in Solaris box
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015