性能问答>cpu占用100%>
3回复
4年前

cpu占用100%



虚拟机16个Cpu 其中一个占用100%
请帮忙分析jstack信息
[jsyx@edazhyxjsapp02 ~]$ jstack 13616|grep 36a7 -A60
“RpcClient-timer-pool1-t1” #45 daemon prio=5 os_prio=0 tid=0x00007f0280d4a000 nid=0x36a7 runnable [0x00007f02be8ef000]
java.lang.Thread.State: RUNNABLE
at io.netty.util.internal.MpscLinkedQueue.peekNode(MpscLinkedQueue.java:127)
at io.netty.util.internal.MpscLinkedQueue.poll(MpscLinkedQueue.java:152)
at io.netty.util.HashedWheelTimer$Worker.transferTimeoutsToBuckets(HashedWheelTimer.java:387)
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:362)
at java.lang.Thread.run(Thread.java:748)

“DestroyJavaVM” #70 prio=5 os_prio=0 tid=0x00007f03d0009800 nid=0x3535 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

“http-nio-40000-AsyncTimeout” #68 daemon prio=5 os_prio=0 tid=0x00007f03d2662000 nid=0x366e waiting on condition [0x00007f02beef1000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.apache.coyote.AbstractProtocol$AsyncTimeout.run(AbstractProtocol.java:1211)
at java.lang.Thread.run(Thread.java:748)

“http-nio-40000-Acceptor-0” #67 daemon prio=5 os_prio=0 tid=0x00007f03d170a800 nid=0x366d runnable [0x00007f02beff2000]
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422)
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)
- locked <0x00000005cf06f388> (a java.lang.Object)
at org.apache.tomcat.util.net.NioEndpoint$Acceptor.run(NioEndpoint.java:455)
at java.lang.Thread.run(Thread.java:748)

“http-nio-40000-ClientPoller-1” #66 daemon prio=5 os_prio=0 tid=0x00007f03d0ddb800 nid=0x366c runnable [0x00007f02bf0f3000]
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)

4559 阅读
请先登录,查看3条精彩评论吧
快去登录吧,你将获得
  • 浏览更多精彩评论
  • 和开发者讨论交流,共同进步