[Deploying Sakai] killing threads

R.P. Aditya rpaditya at umich.edu
Wed Oct 28 18:37:29 PDT 2009

On 2009-10-28, Charles Hedrick <hedrick at rutgers.edu> wrote:
> Java thread ID, as opposed to the OS thread ID used so far

you can also get the Java thread Id as well as the cpu consumption
directly from the JVM SNMP agent using the oids:


(there are other useful oids too for finding block and wait times...)

>                        thread.stop();
> where NNN is the Java thread ID
> I just did this on three different JVMs, suffering from two different  
> kinds of loop. It either killed or stopped all the threads.

however Thread.stop() is considered unsafe:


and even Sun's own disclaimer:


which is why I've never even attempted it...


More information about the production mailing list