tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chateau Xiao <chateau.x...@gmail.com>
Subject A question about thread dump!
Date Wed, 11 May 2011 07:11:09 GMT
hi all:

for the necessary of debug. I need the thread dump information like below to
show me the threads running status.

Full thread dump Java HotSpot(TM) 64-Bit Server VM (16.3-b01 mixed mode):

"Attach Listener" daemon prio=10 tid=0x0000000001f55000 nid=0x4726 runnable
[0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Keep-Alive-Timer" daemon prio=10 tid=0x0000002c32f15000 nid=0x3c54 waiting
on condition [0x0000000047270000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:149)
at java.lang.Thread.run(Thread.java:619)

"http-80-192" daemon prio=10 tid=0x0000002c3197f800 nid=0x53d0 in
Object.wait() [0x000000004f4f2000]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x0000002b0c58bc38> (a
org.apache.tomcat.util.net.AprEndpoint$Worker)
at java.lang.Object.wait(Object.java:485)
at
org.apache.tomcat.util.net.AprEndpoint$Worker.await(AprEndpoint.java:1464)
- locked <0x0000002b0c58bc38> (a
org.apache.tomcat.util.net.AprEndpoint$Worker)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1489)
at java.lang.Thread.run(Thread.java:619)

"http-80-191" daemon prio=10 tid=0x0000002c310d2800 nid=0x53cf in
Object.wait() [0x000000004f3f1000]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x0000002b0c56a0f0> (a
org.apache.tomcat.util.net.AprEndpoint$Worker)
at java.lang.Object.wait(Object.java:485)
at
org.apache.tomcat.util.net.AprEndpoint$Worker.await(AprEndpoint.java:1464)
- locked <0x0000002b0c56a0f0> (a
org.apache.tomcat.util.net.AprEndpoint$Worker)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1489)
at java.lang.Thread.run(Thread.java:619)






I usually use kill -3 <pid> or jstack to satisify my requirement.  when
things came to jsvc, it just doesn't work effectively. when i send kill -3
signal to jsvc process, it just simplely <defunct> and gaven nothing
output.

how can i use the 'kill' to send a signal to jsvc then get an output?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message