Error while running Jmeter Perfmon
PS C:\Users\sebin.vincent> e: PS E:\> .\Softwares\ServerAgent-2.2.3\startAgent.bat INFO 2019-12-30 12:17:45.122 [kg.apc.p] (): Binding UDP to 4444 INFO 2019-12-30 12:17:45.155 [kg.apc.p] (): Binding TCP to 4444 INFO 2019-12-30 12:17:45.157 [kg.apc.p] (): JP@GC Agent v2.2.3 started INFO 2019-12-30 12:18:59.180 [kg.apc.p] (): Accepting new TCP connection INFO 2019-12-30 12:18:59.184 [kg.apc.p] (): Yep, we received the 'test' command INFO 2019-12-30 12:18:59.187 [kg.apc.p] (): Starting measures: memory: cpu: # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000010014ed4, pid=19028, tid=3160 # # JRE version: Java(TM) SE Runtime Environment (11.0.4+10) (build 11.0.4+10-LTS) # Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0.4+10-LTS, 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: # E:\\hs_err_pid19028.log # # 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. #
I can't find a possible solution, even after vast range of search.
It seems you're suffering from the same problem as it's described in Sigar 1.6.4 is crashing: EXCEPTION_ACCESS_VIOLATION article, one of the reasons I can think of is that Windows PerfMon doesn't have CPU counters enabled so SIGAR fails to read this information and causes JVM crash due to a bug in its native
Try inspecting Windows PerfMon settings and ensure that CPU telemetry is enabled.
It might also be the case your account doesn't have enough permissions to collect CPU information from Windows performance counters, try running ServerAgent as administrator
As the last resort you could consider switching to SSHMon plugin which doesn't rely on SIGAR and doesn't require Server Agent to be running on the machine you want to monitor. Check out How to Monitor Server Resource Utilization with JMeter’s SSHMon Listener article for more details if needed.