Appdynamics / kafka-monitoring-extension

AppDynamics Monitoring Extension for use with Kafka
Apache License 2.0
9 stars 6 forks source link

Threads "JMX server connection timeout*" is increasing #9

Closed dinegri closed 5 years ago

dinegri commented 5 years ago

Hi,

we are using Kafka Monitoring extension in our Kafka Broker. We have observed a leak of number os thread in our broker, something roundabout 30000 thread running from JMX Metrics.

I have many threads named as "JMX server connection timeout ", those threads have 2 minutes of timeout, but it seems they are still transferring data once those threads never finishes

My question is: Is kafka monitoring extensions reusing connections? It is closing the connections after collecting metrics?

Is there any setup that I can do to avoid these higher number of threads in my broker in the agent side?

ghost commented 5 years ago

Hi, The latest Kafka Monitoring Extension v2.0.3 has bug fixes for connection leak, can you please confirm if you're using the latest version.

Thanks Vishaka

cc: @kunalgupApDx

dinegri commented 5 years ago

Hi, thanks for your quick response

We are using v2.0.0, we will upgrade it and check how it behaves.