一、问题描述
使用ServerAgent-2.2.3监控服务器时,每次Jmeter点击run时就会闪退,错误日志如下:
# # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000010014ed4, pid=16744, tid=0x0000000000000a70 # # JRE version: Java(TM) SE Runtime Environment (8.0_331-b09) (build 1.8.0_331-b09) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.331-b09 mixed mode windows-amd64 compressed oops) # Problematic frame: # C [sigar-amd64-winnt.dll+0x14ed4] # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # If you would like to submit a bug report, please visit: # http://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. # --------------- T H R E A D --------------- Current thread (0x00000274abc18800): JavaThread "Thread-0" [_thread_in_native, id=2672, stack(0x00000098fbe00000,0x00000098fbf00000)] siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffabff0d88 Registers: RAX=0xffffffffabff0c50, RBX=0x00000274a94fa7a0, RCX=0x00000274abc18a00, RDX=0x00000098fbefe8d0 RSP=0x00000098fbefe710, RBP=0x00000098fbefe8b0, RSI=0x0000000000200021, RDI=0x00000274a94e2748 R8 =0x0000000000000032, R9 =0x000000076c907df0, R10=0x000000000000000c, R11=0x00000000621daa9c R12=0x0000000000000000, R13=0x00000274a94fa798, R14=0x00000098fbefe8d8, R15=0x00000274abc18800 RIP=0x0000000010014ed4, EFLAGS=0x0000000000010286 Top of Stack: (sp=0x00000098fbefe710) 0x00000098fbefe710: 00000274abc18a00 00000098fbefe8d0 0x00000098fbefe720: 00000274abc18800 0000000000000000 0x00000098fbefe730: ffffffffabff0c50 0000000000000000 0x00000098fbefe740: 00000098fbefe8d8 0000000010018291 0x00000098fbefe750: 00000274abc18a00 00000098fbefe8d0 0x00000098fbefe760: 0000000000200021 00000274a94e2748 0x00000098fbefe770: 00000274abc18800 0000000000000000 0x00000098fbefe780: 00000274a94fa7a0 0000000000000000 0x00000098fbefe790: 00000274abc18800 00000098fbefe8d8 0x00000098fbefe7a0: 00000098fbefe8b0 0000000061ac357b 0x00000098fbefe7b0: 00000098fbefe7e0 0000000000000000 0x00000098fbefe7c0: 00000274a94fa7a0 00000274abaf62f8 0x00000098fbefe7d0: 00000274a94fa7a0 00000274abc18800 0x00000098fbefe7e0: 00000274a94fa7a0 00000274abc18800 0x00000098fbefe7f0: 00000274a94e2748 0000000000200021 0x00000098fbefe800: 00000274a94fa7a0 0000027490a79e86 Instructions: (pc=0x0000000010014ed4) 0x0000000010014eb4: 7c 24 20 00 75 15 48 8d 15 df 58 04 00 48 8b 4c 0x0000000010014ec4: 24 40 e8 45 00 00 00 33 c0 eb 32 48 8b 44 24 20 0x0000000010014ed4: 83 b8 38 01 00 00 00 74 1f 48 8b 44 24 20 44 8b 0x0000000010014ee4: 80 38 01 00 00 48 8b 54 24 20 48 8b 4c 24 40 e8 Register to memory mapping: RAX=0xffffffffabff0c50 is an unknown value RBX={method} {0x00000274a94fa7a8} 'gather' '(Lorg/hyperic/sigar/Sigar;)V' in 'org/hyperic/sigar/Cpu' RCX=0x00000274abc18a00 is an unknown value RDX=0x00000098fbefe8d0 is pointing into the stack for thread: 0x00000274abc18800 RSP=0x00000098fbefe710 is pointing into the stack for thread: 0x00000274abc18800 RBP=0x00000098fbefe8b0 is pointing into the stack for thread: 0x00000274abc18800 RSI=0x0000000000200021 is an unknown value RDI={method} {0x00000274a94e2750} 'getCpuPerc' '()Lorg/hyperic/sigar/CpuPerc;' in 'org/hyperic/sigar/Sigar' R8 =0x0000000000000032 is an unknown value R9 =0x000000076c907df0 is an oop org.hyperic.sigar.Sigar - klass: 'org/hyperic/sigar/Sigar' R10=0x000000000000000c is an unknown value R11=0x00000000621daa9c is an unknown value R12=0x0000000000000000 is an unknown value R13=0x00000274a94fa798 is pointing into metadata R14=0x00000098fbefe8d8 is pointing into the stack for thread: 0x00000274abc18800 R15=0x00000274abc18800 is a thread Stack: [0x00000098fbe00000,0x00000098fbf00000], sp=0x00000098fbefe710, free space=1017k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [sigar-amd64-winnt.dll+0x14ed4] C [sigar-amd64-winnt.dll+0x18291] C 0x0000027490a7a02e Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.hyperic.sigar.Cpu.gather(Lorg/hyperic/sigar/Sigar;)V+0 j org.hyperic.sigar.Cpu.fetch(Lorg/hyperic/sigar/Sigar;)Lorg/hyperic/sigar/Cpu;+10 j org.hyperic.sigar.Sigar.getCpu()Lorg/hyperic/sigar/Cpu;+1 j org.hyperic.sigar.Sigar.getCpuPerc()Lorg/hyperic/sigar/CpuPerc;+8 v ~StubRoutines::call_stub j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+100 j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+56 j org.hyperic.sigar.SigarProxyCache.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+363 j com.sun.proxy.$Proxy0.getCpuPerc()Lorg/hyperic/sigar/CpuPerc;+9 j kg.apc.perfmon.metrics.CPUTotalMetric.getValue(Ljava/lang/StringBuffer;)V+11 j kg.apc.perfmon.PerfMonMetricGetter.getMetricsLine()Ljava/nio/ByteBuffer;+51 j kg.apc.perfmon.PerfMonWorker.processSenders()V+106 j kg.apc.perfmon.PerfMonWorker.run()V+8 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) =>0x00000274abc18800 JavaThread "Thread-0" [_thread_in_native, id=2672, stack(0x00000098fbe00000,0x00000098fbf00000)] 0x00000274ab8cc000 JavaThread "Service Thread" daemon [_thread_blocked, id=20416, stack(0x00000098fbc00000,0x00000098fbd00000)] 0x00000274aa65c000 JavaThread "C1 CompilerThread3" daemon [_thread_blocked, id=15412, stack(0x00000098fbb00000,0x00000098fbc00000)] 0x00000274aa643000 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=22224, stack(0x00000098fba00000,0x00000098fbb00000)] 0x00000274aa63e000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=8556, stack(0x00000098fb900000,0x00000098fba00000)] 0x00000274aa638000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=16588, stack(0x00000098fb800000,0x00000098fb900000)] 0x00000274aa635000 JavaThread "Attach Listener" daemon [_thread_blocked, id=18720, stack(0x00000098fb700000,0x00000098fb800000)] 0x00000274aa5df800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=16672, stack(0x00000098fb600000,0x00000098fb700000)] 0x00000274a99ad800 JavaThread "Finalizer" daemon [_thread_blocked, id=296, stack(0x00000098fb500000,0x00000098fb600000)] 0x00000274aa5aa000 JavaThread "Reference Handler" daemon [_thread_blocked, id=11892, stack(0x00000098fb400000,0x00000098fb500000)] 0x000002748efa3800 JavaThread "main" [_thread_in_native, id=21272, stack(0x00000098faa00000,0x00000098fab00000)] Other Threads: 0x00000274aa586000 VMThread [stack: 0x00000098fb300000,0x00000098fb400000] [id=16412] 0x00000274ab91a800 WatcherThread [stack: 0x00000098fbd00000,0x00000098fbe00000] [id=18308] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None heap address: 0x00000006c4e00000, size: 4018 MB, Compressed Oops mode: Zero based, Oop shift amount: 3 Narrow klass base: 0x0000000000000000, Narrow klass shift: 3 Compressed class space size: 1073741824 Address: 0x00000007c0000000 Heap: PSYoungGen total 75264K, used 7770K [0x000000076c500000, 0x0000000771900000, 0x00000007c0000000) eden space 64512K, 12% used [0x000000076c500000,0x000000076cc968a8,0x0000000770400000) from space 10752K, 0% used [0x0000000770e80000,0x0000000770e80000,0x0000000771900000) to space 10752K, 0% used [0x0000000770400000,0x0000000770400000,0x0000000770e80000) ParOldGen total 172032K, used 0K [0x00000006c4e00000, 0x00000006cf600000, 0x000000076c500000) object space 172032K, 0% used [0x00000006c4e00000,0x00000006c4e00000,0x00000006cf600000) Metaspace used 5968K, capacity 6128K, committed 6400K, reserved 1056768K class space used 666K, capacity 696K, committed 768K, reserved 1048576K Card table byte_map: [0x000002749fe20000,0x00000274a0600000] byte_map_base: 0x000002749c7f9000 Marking Bits: (ParMarkBitMap*) 0x00000000621e9030 Begin Bits: [0x00000274a0b40000, 0x00000274a4a08000) End Bits: [0x00000274a4a08000, 0x00000274a88d0000) Polling page: 0x000002748f190000 CodeCache: size=245760Kb used=1764Kb max_used=1775Kb free=243995Kb bounds [0x0000027490a60000, 0x0000027490cd0000, 0x000002749fa60000] total_blobs=603 nmethods=295 adapters=221 compilation: enabled Compilation events (10 events): Event: 39.147 Thread 0x00000274aa63e000 290 4 sun.nio.cs.UTF_8$Encoder::encode (359 bytes) Event: 39.148 Thread 0x00000274aa65c000 nmethod 289 0x0000027490c12f50 code [0x0000027490c13360, 0x0000027490c15240] Event: 39.148 Thread 0x00000274aa65c000 291 ! 3 java.util.zip.InflaterInputStream::read (138 bytes) Event: 39.149 Thread 0x00000274aa65c000 nmethod 291 0x0000027490c16d10 code [0x0000027490c16f80, 0x0000027490c18090] Event: 39.149 Thread 0x00000274aa65c000 292 3 java.util.zip.InflaterInputStream::ensureOpen (18 bytes) Event: 39.149 Thread 0x00000274aa65c000 nmethod 292 0x0000027490c18990 code [0x0000027490c18b00, 0x0000027490c18d50] Event: 39.149 Thread 0x00000274aa63e000 nmethod 290 0x0000027490c1bc50 code [0x0000027490c1bda0, 0x0000027490c1bff8] Event: 40.761 Thread 0x00000274aa638000 293 4 java.util.Arrays::copyOfRange (63 bytes) Event: 40.761 Thread 0x00000274aa65c000 294 3 java.util.zip.ZipFile::access$400 (5 bytes) Event: 40.761 Thread 0x00000274aa65c000 nmethod 294 0x0000027490c1b510 code [0x0000027490c1b660, 0x0000027490c1b798] GC Heap History (0 events): No events Deoptimization events (0 events): No events Classes redefined (0 events): No events Internal exceptions (10 events): Event: 0.025 Thread 0x000002748efa3800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.defineClass(Ljava/lang/String;[BII)Ljava/lang/Class; name or signature does not match> (0x000000076c507cc0) thrown at [C:\jenkins\workspace\8-2-build-windows-amd64-cygwin\jdk8u331\2416\hot Event: 0.025 Thread 0x000002748efa3800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x000000076c507fa8) thrown at [C:\jenkins\workspace\8-2-build-windows-amd64-cygwin\jdk8u331\2416\hotspot\src\share\vm\ Event: 0.076 Thread 0x000002748efa3800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076c60c530) thrown at [C:\jenkins\workspace\8-2-build-windows-amd64-cygwin\jdk8u331\2416\hotspot\src\share\vm\prims\jvm.cpp, line 1523] Event: 0.076 Thread 0x000002748efa3800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076c60c740) thrown at [C:\jenkins\workspace\8-2-build-windows-amd64-cygwin\jdk8u331\2416\hotspot\src\share\vm\prims\jvm.cpp, line 1523] Event: 0.077 Thread 0x000002748efa3800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076c616d28) thrown at [C:\jenkins\workspace\8-2-build-windows-amd64-cygwin\jdk8u331\2416\hotspot\src\share\vm\prims\jvm.cpp, line 1523] Event: 0.077 Thread 0x000002748efa3800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076c616f38) thrown at [C:\jenkins\workspace\8-2-build-windows-amd64-cygwin\jdk8u331\2416\hotspot\src\share\vm\prims\jvm.cpp, line 1523] Event: 0.097 Thread 0x000002748efa3800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076c817148) thrown at [C:\jenkins\workspace\8-2-build-windows-amd64-cygwin\jdk8u331\2416\hotspot\src\share\vm\prims\jvm.cpp, line 1523] Event: 0.097 Thread 0x000002748efa3800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076c817540) thrown at [C:\jenkins\workspace\8-2-build-windows-amd64-cygwin\jdk8u331\2416\hotspot\src\share\vm\prims\jvm.cpp, line 1523] Event: 0.097 Thread 0x000002748efa3800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076c81b638) thrown at [C:\jenkins\workspace\8-2-build-windows-amd64-cygwin\jdk8u331\2416\hotspot\src\share\vm\prims\jvm.cpp, line 1523] Event: 0.097 Thread 0x000002748efa3800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076c81ba30) thrown at [C:\jenkins\workspace\8-2-build-windows-amd64-cygwin\jdk8u331\2416\hotspot\src\share\vm\prims\jvm.cpp, line 1523] Events (10 events): Event: 39.147 loading class kg/apc/perfmon/metrics/JMXMetric Event: 39.147 loading class kg/apc/perfmon/metrics/JMXMetric done Event: 39.147 loading class kg/apc/perfmon/metrics/CPUProcMetric Event: 39.147 loading class kg/apc/perfmon/metrics/CPUProcMetric done Event: 39.148 loading class kg/apc/perfmon/metrics/CPUTotalMetric Event: 39.148 loading class kg/apc/perfmon/metrics/CPUTotalMetric done Event: 40.761 Executing VM operation: RevokeBias Event: 40.761 Executing VM operation: RevokeBias done Event: 40.761 loading class org/hyperic/sigar/SigarCacheObject Event: 40.761 loading class org/hyperic/sigar/SigarCacheObject done Dynamic libraries: 0x00007ff7a7640000 - 0x00007ff7a7687000 C:\Program Files\Java\jdk1.8.0_331\bin\java.exe 0x00007ffea9470000 - 0x00007ffea9684000 C:\WINDOWS\SYSTEM32\ntdll.dll 0x00007ffea7290000 - 0x00007ffea7354000 C:\WINDOWS\System32\KERNEL32.DLL 0x00007ffea6e80000 - 0x00007ffea7224000 C:\WINDOWS\System32\KERNELBASE.dll 0x00007ffea7380000 - 0x00007ffea7430000 C:\WINDOWS\System32\ADVAPI32.dll 0x00007ffea90f0000 - 0x00007ffea9197000 C:\WINDOWS\System32\msvcrt.dll 0x00007ffea7430000 - 0x00007ffea74d6000 C:\WINDOWS\System32\sechost.dll 0x00007ffea8c80000 - 0x00007ffea8d97000 C:\WINDOWS\System32\RPCRT4.dll 0x00007ffea76e0000 - 0x00007ffea788a000 C:\WINDOWS\System32\USER32.dll 0x00007ffea6ad0000 - 0x00007ffea6af6000 C:\WINDOWS\System32\win32u.dll 0x00007ffea8da0000 - 0x00007ffea8dc9000 C:\WINDOWS\System32\GDI32.dll 0x00007ffea6910000 - 0x00007ffea6a29000 C:\WINDOWS\System32\gdi32full.dll 0x00007ffea6a30000 - 0x00007ffea6aca000 C:\WINDOWS\System32\msvcp_win.dll 0x00007ffea6b70000 - 0x00007ffea6c81000 C:\WINDOWS\System32\ucrtbase.dll 0x00007ffe8c3b0000 - 0x00007ffe8c63f000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.2070_none_2713e6537381f706\COMCTL32.dll 0x00007ffea8680000 - 0x00007ffea86b1000 C:\WINDOWS\System32\IMM32.DLL 0x00007ffe8d5e0000 - 0x00007ffe8d5f5000 C:\Program Files\Java\jdk1.8.0_331\jre\bin\vcruntime140.dll 0x00007ffe368f0000 - 0x00007ffe3698b000 C:\Program Files\Java\jdk1.8.0_331\jre\bin\msvcp140.dll 0x0000000061a00000 - 0x0000000062261000 C:\Program Files\Java\jdk1.8.0_331\jre\bin\server\jvm.dll 0x00007ffea7360000 - 0x00007ffea7368000 C:\WINDOWS\System32\PSAPI.DLL 0x00007ffe9d380000 - 0x00007ffe9d389000 C:\WINDOWS\SYSTEM32\WSOCK32.dll 0x00007ffe9c9a0000 - 0x00007ffe9c9d4000 C:\WINDOWS\SYSTEM32\WINMM.dll 0x00007ffea86c0000 - 0x00007ffea8731000 C:\WINDOWS\System32\WS2_32.dll 0x00007ffe9c1b0000 - 0x00007ffe9c1ba000 C:\WINDOWS\SYSTEM32\VERSION.dll 0x00007ffea5930000 - 0x00007ffea5948000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll 0x00007ffe9def0000 - 0x00007ffe9df00000 C:\Program Files\Java\jdk1.8.0_331\jre\bin\verify.dll 0x00007ffe72e80000 - 0x00007ffe72eab000 C:\Program Files\Java\jdk1.8.0_331\jre\bin\java.dll 0x00007ffe8d560000 - 0x00007ffe8d578000 C:\Program Files\Java\jdk1.8.0_331\jre\bin\zip.dll 0x00007ffea79e0000 - 0x00007ffea81f6000 C:\WINDOWS\System32\SHELL32.dll 0x00007ffea4830000 - 0x00007ffea511a000 C:\WINDOWS\SYSTEM32\windows.storage.dll 0x00007ffea8740000 - 0x00007ffea8aca000 C:\WINDOWS\System32\combase.dll 0x00007ffea46f0000 - 0x00007ffea482e000 C:\WINDOWS\SYSTEM32\wintypes.dll 0x00007ffea91a0000 - 0x00007ffea9293000 C:\WINDOWS\System32\SHCORE.dll 0x00007ffea9350000 - 0x00007ffea93ae000 C:\WINDOWS\System32\shlwapi.dll 0x00007ffea6780000 - 0x00007ffea67a6000 C:\WINDOWS\SYSTEM32\profapi.dll 0x00007ffe8d520000 - 0x00007ffe8d53c000 C:\Program Files\Java\jdk1.8.0_331\jre\bin\net.dll 0x00007ffea5e00000 - 0x00007ffea5e69000 C:\WINDOWS\system32\mswsock.dll 0x00007ffe72f90000 - 0x00007ffe72fa3000 C:\Program Files\Java\jdk1.8.0_331\jre\bin\nio.dll 0x00007ffea6050000 - 0x00007ffea606b000 C:\WINDOWS\SYSTEM32\CRYPTSP.dll 0x00007ffea58f0000 - 0x00007ffea5925000 C:\WINDOWS\system32\rsaenh.dll 0x00007ffea5ef0000 - 0x00007ffea5f1c000 C:\WINDOWS\SYSTEM32\USERENV.dll 0x00007ffea61f0000 - 0x00007ffea6218000 C:\WINDOWS\SYSTEM32\bcrypt.dll 0x00007ffea6c90000 - 0x00007ffea6d0a000 C:\WINDOWS\System32\bcryptprimitives.dll 0x00007ffea6070000 - 0x00007ffea607c000 C:\WINDOWS\SYSTEM32\CRYPTBASE.dll 0x00007ffea53f0000 - 0x00007ffea541d000 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL 0x00007ffea8e40000 - 0x00007ffea8e49000 C:\WINDOWS\System32\NSI.dll 0x00007ffe9cd00000 - 0x00007ffe9cd19000 C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL 0x00007ffe9cbf0000 - 0x00007ffe9cc0f000 C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL 0x00007ffea5420000 - 0x00007ffea5513000 C:\WINDOWS\SYSTEM32\DNSAPI.dll 0x0000000010000000 - 0x0000000010070000 D:\soft\ServerAgent-2.2.3\ServerAgent-2.2.3\lib\sigar-amd64-winnt.dll 0x00007ffea8ae0000 - 0x00007ffea8c7c000 C:\WINDOWS\System32\ole32.dll 0x00007ffea75e0000 - 0x00007ffea76b7000 C:\WINDOWS\System32\OLEAUT32.dll 0x00007ffe7e5b0000 - 0x00007ffe7e600000 C:\WINDOWS\SYSTEM32\pdh.dll 0x00007ffe84a60000 - 0x00007ffe84a79000 C:\WINDOWS\SYSTEM32\NETAPI32.dll 0x00007ffea53e0000 - 0x00007ffea53ec000 C:\WINDOWS\SYSTEM32\NETUTILS.DLL 0x00007ffe8a500000 - 0x00007ffe8a529000 C:\WINDOWS\SYSTEM32\SRVCLI.DLL 0x00007ffea41c0000 - 0x00007ffea43ee000 C:\WINDOWS\SYSTEM32\dbghelp.dll VM Arguments: java_command: D:\soft\ServerAgent-2.2.3\ServerAgent-2.2.3\startAgent.bat\..\CMDRunner.jar --tool PerfMonAgent java_class_path (initial): D:\soft\ServerAgent-2.2.3\ServerAgent-2.2.3\startAgent.bat\..\CMDRunner.jar Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=C:\Program Files\Java\jdk1.8.0_331 CLASSPATH=D:\soft\apache-jmeter-5.6\lib\ext\ApacheJMeter_Core.jar;D:\soft\apache-jmeter-5.6\lib\jorphan.jar; PATH=C:\Program Files\Java\jdk1.8.0_331\bin;C:\Program Files\Python311\Scripts\;C:\Program Files\Python311\;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Program Files\nodejs\node_global;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\dotnet\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files (x86)\Tencent\ web ߹ \dll;C:\Program Files\TortoiseGit\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;D:\soft\android-sdk-windows\tools;D:\soft\android-sdk-windows\platform-tools;D:\soft\apache-maven-3.6.0\bin;C:\Program Files (x86)\Yarn\bin\;D:\soft\apache-jmeter-5.6\bin;C:\Program Files (x86)\NetSarang\Xftp 7\;C:\Users\ivan\AppData\Local\Microsoft\WindowsApps;;C:\Users\ivan\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\ivan\AppData\Roaming\npm;C:\Users\ivan\.dotnet\tools;C:\Program Files\Azure Data Studio\bin;D:\Program Files\Fiddler;C:\Users\ivan\AppData\Local\Yarn\bin USERNAME=ivan OS=Windows_NT PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 140 Stepping 1, GenuineIntel --------------- S Y S T E M --------------- OS: Windows 11 , 64 bit Build 22621 (10.0.22621.2070) CPU:total 8 (initial active 8) (4 cores per cpu, 2 threads per core) family 6 model 140 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx Memory: 4k page, physical 16451304k(5640936k free), swap 20296408k(2409680k free) vm_info: Java HotSpot(TM) 64-Bit Server VM (25.331-b09) for windows-amd64 JRE (1.8.0_331-b09), built on Mar 10 2022 03:14:38 by "java_re" with MS VC++ 15.9 (VS2017) time: Sun Sep 10 21:57:59 2023 timezone: й ʱ elapsed time: 40.781586 seconds (0d 0h 0m 40s)View Code
百度搜了下,导致这个问题的原因是ServerAgent-2.2.3与jdk版本不匹配导致,解决方法有更换jdk版本的还有替换jar包的,换搜索关键字搜索到另外一种解决方法,只需要替换一个sigar-amd64-winnt.dll文件即可。国内下载不了只能通过参考的第二篇内容的百度网盘下载下来,然后替换下就好了。
dll地址: https://files.cnblogs.com/files/5ishare/sigar-amd64-winnt.rar?t=1694355788&download=true
参考:
https://github.com/hyperic/sigar/issues/141#issuecomment-733408751
https://blog.csdn.net/qq_41126936/article/details/130308175
二、测试
如图,创建了一个测试计划,在线程组内请求127.0.0.1接口的数据,通过PerfMon Metrics Colletor收集ServerAgent服务端的数据进行展示。
标签:Files,ServerAgent,WINDOWS,System32,dll,Program,2.2,闪退,Event From: https://www.cnblogs.com/5ishare/p/17692160.html