prometheus / jmx_exporter

A process for exposing JMX Beans via HTTP for Prometheus consumption
Apache License 2.0
2.98k stars 1.19k forks source link

jmx_ prometheus_ Javaagent stopped running #669

Open ghost opened 2 years ago

ghost commented 2 years ago

Hi, I use JMX prometheus Javaagent monitors Tomcat and encounters a problem, JMX stops running! In http://prometheus_ip:9090/targets Down is displayed, but Tomcat can still be accessed normally.

I guess JMX quit because of the high load? How can I solve this problem?

ghost commented 2 years ago

Use the ss command to view the port status, there are a lot of close-wait. image

fstab commented 2 years ago

The first step would be to figure out why the jmx_exporter agent is unresponsive. Could you create a thread dump? This can be done by sending the -3 signal to the Tomcat process, like kill -3 <pid>.

ghost commented 2 years ago

@fstab Hi, It's jmx_ exporter dump thread? How do I create a thread dump?

ghost commented 2 years ago

Sorry, English is not my mother tongue. Can you understand what I mean?

yeyuguang1 commented 1 year ago

@saodis Hi, brother, I meet the same problem. Have you solved it?

dhoard commented 1 year ago

@saodis Have you resolved this issue?

yuguangye commented 1 year ago

yes ,i was resolved this issue, Maybe we're not having the same problem

yangb6 commented 7 months ago

@saodis @yuguangye Can you share how you resolve the issue?