Tomcat doesn't respond, threadump shows a blocked thread
Is it bad if I see the following in a Tomcat thread dump? The server is sometimes getting "stuck" and no开发者_如何学编程t responding to http requests and I'm wondering if this blocked thread is an indication that it has some kind of network connectivity problem.
http-80-10" daemon prio=6 tid=0x0000000015ac5000 nid=0x2dc in Object.wait() [0x000000001d4af000]
java.lang.Thread.State: BLOCKED (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000005805380a0> (a java.util.HashMap)
at java.lang.Object.wait(Object.java:485)
at java.net.InetAddress.checkLookupTable(Unknown Source)
This looks to me like this bug:
http://bugs.sun.com/view_bug.do?bug_id=7012768
My first thought was that it was it was contending and doing a lot of very slow DNS lookups, but the above bug would seem far more likely.
精彩评论