You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have observed below thread leaks in our server. We suspect the server thread leak is due to JMX connection timeouts on Jmxfetch. Number of JMX Connection timeouts threads keep increasing (this number backing down at some point, but too small compared to increasing number - see bellow)
Java app thread dump (where JMX remote enabled), we got many of these:
"JMX server connection timeout 10668711" #10668711 daemon prio=5 os_prio=0 cpu=5609.35ms elapsed=149027.94s tid=0x00007f31bc97c000 nid=0x70b5 in Object.wait() [0x00007f2de434c000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait([email protected]/Native Method)
- waiting on <no object reference available>
at com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.run([email protected]/ServerCommunicatorAdmin.java:171)
- waiting to re-lock in wait() <0x00000010293bbe98> (a [I)
at java.lang.Thread.run([email protected]/Thread.java:829)
...
JMX Fetch logs
2024-05-22 01:24:57 PDT | JMX | WARN | JmxAttribute | Unable to get metrics from xxxxx - MaxActive: java.lang.NumberFormatException: For input string: "Local:1
Remote:1"
2024-05-22 01:24:57 PDT | JMX | WARN | JmxAttribute | Unable to get metrics from xxxx: java.lang.NumberFormatException: For input string: "CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}"
2024-05-22 01:24:57 PDT | JMX | WARN | JmxAttribute | Unable to get metrics from xxxx : java.lang.NumberFormatException: empty String
2024-05-22 01:24:58 PDT | JMX | WARN | App | Unable to instantiate or initialize instance localhost:3000 for an unknown reason.Java heap space
Hi,
We have observed below thread leaks in our server. We suspect the server thread leak is due to JMX connection timeouts on Jmxfetch. Number of JMX Connection timeouts threads keep increasing (this number backing down at some point, but too small compared to increasing number - see bellow)
Java app thread dump (where JMX remote enabled), we got many of these:
JMX Fetch logs
JMX Fetch version: 0.48.0
Possibly similar behavior to #370
The text was updated successfully, but these errors were encountered: