cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

AppMon agent slowing down application issue (almost 100 times)

shambhu_sinha
Newcomer

I am facing issue of slowness
with AppMon agent installed (almost 100 times compare with without DT
agent). Has anyone any idea about this issue?

  • Dynatrace agent
    version: dynatrace-6.5
  • Dynatrace server
    version: dynatrace-6.5
  • java version: Java(TM) SE Runtime Environment (build 1.8.0_40-b26), Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
  • VM Arguent :
    -agentpath:/data/dynatraceagent/dynatrace-6.5/agent/lib64/libdtagent.so=name=Tomcat_idpperfdt,server=XX.0.2.21:9998
  • Tomcat version: Apache Tomcat/7.0.75

Observed, threads status for
most of Runnable threads (90%+) are in following state

"LastLoginDate Updater
Thread" #417 daemon prio=5 os_prio=0 tid=0x00007fa8c4053000 nid=0xcc88
runnable [0x00007fa81e154000]

java.lang.Thread.State: RUNNABLE

at com.dynatrace.diagnostics.agent.AgentNative.getSudStackTraceElement(Native
Method)

at com.dynatrace.diagnostics.agent.introspection.HeapIntrospection.a(Unknown Source)

at com.dynatrace.diagnostics.agent.introspection.HeapIntrospection.a(Unknown Source)

at com.dynatrace.diagnostics.agent.introspection.HeapIntrospection.objectAlloc(Unknown Source)

at java.util.HashSet.<init>(HashSet.java:105)

at org.springframework.core.annotation.AnnotationUtils.findAnnotation(AnnotationUtils.java:690)

at org.springframework.core.annotation.AnnotationUtils.findAnnotation(AnnotationUtils.java:667)

----

"http-nio-8001-exec-282"
#391 daemon prio=5 os_prio=0 tid=0x00007fa860183800 nid=0xcc6d runnable [0x00007fa81fd69000]

java.lang.Thread.State: RUNNABLE

at com.dynatrace.diagnostics.agent.AgentNative.getSudStackTraceElement(Native Method)

at com.dynatrace.diagnostics.agent.introspection.HeapIntrospection.a(Unknown Source)

at com.dynatrace.diagnostics.agent.introspection.HeapIntrospection.a(Unknown Source)

at com.dynatrace.diagnostics.agent.introspection.HeapIntrospection.objectAlloc(Unknown Source)

at java.util.ArrayList.<init>(ArrayList.java:165)

1 REPLY 1

harald_berger
Dynatrace Pro
Dynatrace Pro

Hi,

The stack shows that memory sensors (map, collection or custom) are placed. Those are very expensive and not recommended for production. Please unplace those sensors and restart the JVM.

Best

Harry