• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Gerald M. · Jan 18, 2016 at 06:51 AM · agent java diagnostics

Thread Dump - missing Stacktrace

Hi,

We have problems with one of our web applications, where a punch of threads are started at every full hour and we do not really know from where they are coming.

I tried to get a thread dump, where I can see the stacktrace for all of the threads, but not those strange ones popping up to every full hour. Has someone a suggestion what it means when there is no Stacktrace for certain threads?

thx,

Gerald

4muly.png (26.2 KiB)
Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

3 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Joe H. · Jan 19, 2016 at 04:04 PM

It's unclear to me what these threads are. I suggest you create a support case and have someone take a look at them. These thread dumps are stored in session files, attaching the session file would be helpful to let someone take a closer look.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Gerald M. · Jan 19, 2016 at 07:18 AM

Hi Joseph M. Hoffman,

I started the CPU Sampling, and indeed got more information.

It seems that those threads are coming from Dynatrace itself:

Are those threads started for the dumping process? This is very misleading when looking for such problems and there are hidden threads by the analysis tool itself.

thx,

Gerald


0qpyd.png (39.4 KiB)
Comment

People who like this

0 Show 2 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Christian S. · Jan 20, 2016 at 09:45 AM 1
Share

hi Gerald,

quick note about the assumption that those threads are started by Dynatrace:

the getOrCreateTraceTag() method or any other methods from the Introspection class do not indicate that the Thread was created by Dynatrace. on the contrary, it usually means that this is a thread from which a PurePath is currently collected.

the threads started by the Dynatrace agent are easily distinguishable by the "dt" prefix in the thread name.

Christian

avatar image Gerald M. Christian S. · Jan 20, 2016 at 09:51 AM 0
Share

Thank you Christian!

avatar image

Answer by Joe H. · Jan 18, 2016 at 09:50 PM

The java Threaddumps will contain the threads for every thread in the JVM. So if you see no data in the thread dump, then that means that thread didn't exist at the time the dump was taken.

You could try running frequent thread dumps, but that's still a hit/miss game.

Another appoach which might work even better is to utilize CPU sampling. This runs continuously for a period of time and gives you visibility into what the various thread activity is during this period from a CPU consumption perspective. So Idle threads wont provide any data, but busy threads will provide data.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

12 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Thread 127 Stack overflow

Determine which sensor is capturing data

Method used for CPU sampling/profiling in dynatrace

Need JVM agents to appear in more than one system profile

Trouble monitoring back-end with a "ZKoss" front-end

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A