> I heard “kill -3” or something like that for thread dump.
> Anybody knows more on this
Yup, below is an in-house tutorial I wrote about generating thread dumps. We run IS on Linux. If I remember correctly, Java threading on Linux (when the JRE is run with --classic flag) maps threads to processes. Its possible to use this as a very blunt tool to kill Flows. However, using this generally brought down the server itself – so its basically a forensics tool to debug what the Java process got deadlocked in.
First, let the java application (eg: WM B2B server) run into the problem you need to diagnose. After sometime, do a ‘ps wax’ and eyeball the TIME column. The Java threads (which usually map to Linux processes) causing the problem will have an abnormally high TIME entries. Record the process_id(s) of these processes.
Then for each of these troublemaking PIDs, do
sudo kill –s QUIT
i.e. You send a QUIT signal to the process as root. This generates a thread dump file (in the case of the B2B server+IBM Java 1.3 VM, file of the type “javacore28976.1025667916.txt” are put in the B2B server directory).
Sonam Chauhan
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB