首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >运行Jmeter Perfmon时出错

运行Jmeter Perfmon时出错
EN

Stack Exchange QA用户
提问于 2019-12-30 06:54:21
回答 2查看 1.8K关注 0票数 -3
代码语言:javascript
复制
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.
#

即使经过了广泛的搜索,我也找不到可能的解决方案。

EN

回答 2

Stack Exchange QA用户

回答已采纳

发布于 2019-12-30 09:51:07

您似乎遇到了与Sigar 1.6.4崩溃:异常_存取_违规条款中描述的问题相同的问题,我可以想到的原因之一是,Windows PerfMon没有启用CPU计数器,因此SIGAR无法读取这些信息,并由于本机sigar-amd64-winnt.dl中的错误而导致JVM崩溃。

尝试检查PerfMon设置并确保已启用CPU遥测。

您的帐户也可能没有足够的权限从收集CPU信息,请尝试以管理员身份运行服务器代理

最后,您可以考虑切换到SSHMon插件,它不依赖SIGAR,也不需要服务器代理在您想要监视的机器上运行。如果需要,请查看如何利用JMeter的SSHMon侦听器监控服务器资源利用率文章以获得更多详细信息。

票数 1
EN

Stack Exchange QA用户

发布于 2020-01-29 06:50:15

步骤:

  1. 安装jdk1.8.0_241
  2. 用jdk1.8.0_241配置JAVA_HOME
  3. 重新启动服务器代理

执行上述步骤后,您的错误将得到解决。

票数 0
EN
页面原文内容由Stack Exchange QA提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://sqa.stackexchange.com/questions/41976

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档