java 堆栈占用cpu 过高

gavin 发布于 2019/04/30 18:23
阅读 397
收藏 1

测试发现服务器cpu占用资源过高,有人遇到这样的问题吗?

Attaching to remote server 0x00007f71015c4000, please wait...
Error attaching to remote server: java.rmi.UnknownHostException: Unknown host: 0x00007f71015c4000; nested exception is: 
    java.net.UnknownHostException: 0x00007f71015c4000
sun.jvm.hotspot.debugger.DebuggerException: java.rmi.UnknownHostException: Unknown host: 0x00007f71015c4000; nested exception is: 
    java.net.UnknownHostException: 0x00007f71015c4000
    at sun.jvm.hotspot.RMIHelper.lookup(RMIHelper.java:115)
    at sun.jvm.hotspot.HotSpotAgent.connectRemoteDebugger(HotSpotAgent.java:517)
    at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:374)
    at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:304)
    at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:183)
    at sun.jvm.hotspot.tools.Tool.start(Tool.java:196)
    at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
    at sun.jvm.hotspot.tools.JStack.main(JStack.java:92)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.tools.jstack.JStack.runJStackTool(JStack.java:140)
    at sun.tools.jstack.JStack.main(JStack.java:106)
Caused by: java.rmi.UnknownHostException: Unknown host: 0x00007f71015c4000; nested exception is: 
    java.net.UnknownHostException: 0x00007f71015c4000
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:616)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:338)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:112)
    at java.rmi.Naming.lookup(Naming.java:101)
    at sun.jvm.hotspot.RMIHelper.lookup(RMIHelper.java:113)
    ... 13 more
Caused by: java.net.UnknownHostException: 0x00007f71015c4000
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:589)
    at java.net.Socket.connect(Socket.java:538)
    at java.net.Socket.<init>(Socket.java:434)
    at java.net.Socket.<init>(Socket.java:211)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
    ... 19 more

[root@iZuf68r9edr61lr1gjhmsnZ ~]# 
 

加载中
0
田跃123
田跃123
没有调时间吧,在cpu反映时间之内还没有运行结束
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部