简体   繁体   English

JProfiler-13 阻止应用程序的 JVM(端口 8080)

[英]JProfiler-13 blocking application's JVM (Port-8080)

I have an JAVA application running in Kubernetes which listens to port 8080. When I connect JProfiler to JVM and run a few requests sequentially, everything works fine.我有一个 JAVA 应用程序在 Kubernetes 中运行,它监听端口 8080。当我将 JProfiler 连接到 JVM 并依次运行几个请求时,一切正常。 But as soon as I fire some load using Jmeter, my application stops responding on Port 8080 and I get request timeout.但是,一旦我使用 Jmeter 触发一些负载,我的应用程序就会在端口 8080 上停止响应并且我得到请求超时。

When JProfiler is detached from JVM, everything starts working fine again.当 JProfiler 与 JVM 分离时,一切又开始正常工作。 I explored a lot but couldn't find any help regarding what in JProfiler is blocking my application to respond.我进行了很多探索,但找不到任何关于 JProfiler 中阻止我的应用程序响应的帮助。

From the feedback you have sent me by email, the overhead becomes noticeable when you switch on allocation recording.根据您通过 email 发送给我的反馈,当您打开分配记录时,开销变得很明显。 Just with CPU and probe recording you don't experience any problem.只需使用 CPU 和探针记录,您就不会遇到任何问题。

Allocation recording is an expensive operation that should only be used when you have a related problem.分配记录是一项昂贵的操作,只有在遇到相关问题时才应使用。 The added overhead can be reduced by reducing the allocation sampling rate.可以通过降低分配采样率来减少增加的开销。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM