jstack的结果,如何定位问题

西夏一品堂 发布于 2015/02/12 09:57
阅读 434
收藏 0
www@master01 :~$ jstack 9835 |grep  26de -A 30
"cluster-1-thread-1" #74 daemon prio=5 os_prio=0 tid=0x00007f5dc4cdf800 nid=0x26de runnable [0x00007f5dd33eb000]
   java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
- locked <0x00000000c8a870d0> (a java.net.SocksSocketImpl)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at com.mongodb.DBPort.ensureOpen(DBPort.java:255)
- locked <0x00000000c8a79d08> (a com.mongodb.DBPort)
at com.mongodb.DBPort.<init>(DBPort.java:90)
at com.mongodb.ServerStateNotifier.run(ServerStateNotifier.java:69)
- locked <0x00000000d7088138> (a com.mongodb.ServerStateNotifier)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)


"ringBuffer-49" #71 daemon prio=5 os_prio=0 tid=0x00007f5e9985d000 nid=0x26cd waiting on condition [0x00007f5e9c366000]
   java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for  <0x00000000d5fc8268> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at com.lmax.disruptor.BlockingWaitStrategy.waitFor(BlockingWaitStrategy.java:45)
at com.lmax.disruptor.ProcessingSequenceBarrier.waitFor(ProcessingSequenceBarrier.java:55)
at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:123)
加载中
返回顶部
顶部