scouter-project / scouter

Scouter is an open source APM (Application Performance Management) tool.
Other
2.1k stars 569 forks source link

open jdk10 host 기동시 에러 #689

Open crown-choi opened 4 years ago

crown-choi commented 4 years ago

안녕하세요 기존 jdk 8로는 기동이 잘됐는데 openjdk 10 으로 변경 후 다음 아래와 같이 메모리 관련 오류가 발생합니다.

--------------- S U M M A R Y ------------

Command Line: scouter.boot.Boot ./lib

Host: Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz, 4 cores, 15G, Windows Server 2016 , 64 bit Build 14393 (10.0.14393.2969) Time: Mon Apr 06 08:36:49 2020 SE Asia Standard Time elapsed time: 2 seconds (0d 0h 0m 2s)

--------------- T H R E A D ---------------

Current thread (0x000001f28404d800): JavaThread "Scouter-CounterExecutingManager" daemon [_thread_in_native, id=7132, stack(0x0000000df0f00000,0x0000000df1000000)]

Stack: [0x0000000df0f00000,0x0000000df1000000], sp=0x0000000df0ffdde0, free space=1015k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [sigar-amd64-winnt.dll+0x14ed4]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.hyperic.sigar.Sigar.getNetInterfaceList()[Ljava/lang/String;+0 v ~StubRoutines::call_stub j jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 java.base@10 j jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+100 java.base@10 j jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 java.base@10 j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+59 java.base@10 j org.hyperic.sigar.SigarProxyCache.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+363 j com.sun.proxy.$Proxy2.getNetInterfaceList()[Ljava/lang/String;+9 j scouter.agent.counter.task.HostNetDiskPerf.netUsage(I)V+9 j scouter.agent.counter.task.HostNetDiskPerf.process(Lscouter/agent/counter/CounterBasket;)V+3 v ~StubRoutines::call_stub j jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 java.base@10 j jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+100 java.base@10 j jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 java.base@10 j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+59 java.base@10 j scouter.agent.counter.CounterExecutingManager$Invocation.process(Lscouter/agent/counter/CounterBasket;)V+16 j scouter.agent.counter.CounterExecutingManager.run()V+95 v ~StubRoutines::call_stub

siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0xffffffff84e50d68


host 를 기동시에만 저렇게 관련 에러가 발생하는데 혹시 openjdk10은 지원하는지 궁금합니다.

감사합니다.

gunlee01 commented 4 years ago

os 자원 수집을 위해 내부적으로 사용하는 sigar 라이브러리가 더이상 업데이트 되지 않고 있어 java 8 사용을 권장합니다.