agent.host 실행 오류
C:\scouter\agent.host>host.bat
C:\scouter\agent.host>java -classpath ./scouter.host.jar scouter.boot.Boot ./lib
/ | ___ ___ _ | | ___ _ __ _ \ / __/ | | | | / _ \ '| ) | (| (+) | || | || __/ | |/ __/ _,|____|| Open Source S/W Performance Monitoring Scouter version 2.17.1
Configure -Dscouter.config=.\conf\scouter.conf Scouter Host Agent Version 2.17.1 2022-03-27 04:35 GMT System JRE version : 11.0.16
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000010014ed4, pid=27532, tid=25912
JRE version: Java(TM) SE Runtime Environment 18.9 (11.0.16+11) (build 11.0.16+11-LTS-199)
Java VM: Java HotSpot(TM) 64-Bit Server VM 18.9 (11.0.16+11-LTS-199, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
Problematic frame:
C [sigar-amd64-winnt.dll+0x14ed4]
No core dump will be written. Minidumps are not enabled by default on client versions of Windows
An error report file with more information is saved as:
C:\scouter\agent.host\hs_err_pid27532.log
If you would like to submit a bug report, please visit:
https://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
관리자권한으로 실행하였는데도 실행 오류가 발생합니다.
어떻게 바로 잡아야 하는지 조언 부탁드립니다.
감사합니다.
저도 같은 문제를 겪고 있습니다.
환경
- 윈도우 11
- OpenJDK 11
- Scouter 2.17.1
찾아본 결과 scouter 자체의 문제가 아니라 hyperic-sigar 문제인 것 같네요. Scouter는 윈도우 리소스(CPU/Memory등) 정보를 hyperic-sigar(https://github.com/hyperic/sigar) 를 사용하고 있네요. hyperic-sigar 소스 커밋 최종시간이 7년전이고 공식사이트(http://sigar.hyperic.com/) 도 접속이 안되는 상태입니다.
scouter가 윈도우 리소스관련하여 새로운 프레임워크로 변경할 시간이 온 것 같네요.;;;
안녕하세요.
저의 환경은 아래와 같은데..
- Windows 10 22H2 최신 업데이트 상태
- OpenJDK 8, 11, 17 (Temurin)
- Scouter 2.17.1
본문과 동일한 문제가 생기길레, Oracle Java 1.7 Update 80 환경에서
Host Agent만 실행해봤는데..
Windows 호스트의 CPU 사용율, 메모리 사용율들이 클라이언트 뷰에서 잘 출력됩니다. 디스크 사용량 경고도 잘나오고 있었구요.. 더 사용해봐야겠지만 특별히 오류나 이상 증상은 없었습니다.
____ _
/ ___| ___ ___ _ _| |_ ___ _ __
\___ \ / __/ \| | | | __/ _ \ '__|
___) | (_| (+) | |_| | || __/ |
|____/ \___\___/ \__,_|\__\___|_|
Open Source S/W Performance Monitoring
Scouter version 2.17.1
Configure -Dscouter.config=.\conf\scouter.conf
Scouter Host Agent Version 2.17.1 2022-03-27 04:35 GMT
System JRE version : 1.7.0_80
역시... 윗분 댓글대로 sigar가 업데이트가 되지 않고 있어서 대안을 찾긴해야할 것 같습니다.