• 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 Brian P. · Mar 06, 2015 at 03:24 AM ·

Elapsed Time High in Purepath

We are having an issue with the purepaths for one of our .NET applications.  The purepath shows the "Elapsed Time" going up to 10-20 seconds.  Most of the "Elapsed Time" is always spent at the beginning of the purepath with no real indication of what is using the time.  When we replicate this issue the user does not seem to experience the degradation that the purepath would indicate.  Anyone have any insight into why the purepath might show this?

 

Thanks,

Brian

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.

5 Replies

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

Answer by Andreas G. · Mar 11, 2015 at 12:54 AM

Thanks for the insight. Yeah - that is a very handy feature in IIS. Giving you visibility in a lot of the native module executions.

Great story. thanks for sharing!

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 Brian P. · Mar 11, 2015 at 12:51 AM

 

We suspected it might be a threading issue, and after searching around the community we found some other people who suggested turning on Failed Request Tracing on 1 of our IIS instances.  We were then able to relate the problematic purepath to the IIS Log and found an issue with REQUEST_ACQUIRE_STATE.  Talking with the .NET Architecture team at our company we found that a couple of other programs had also had issues with multiple AJAX requests making requests to the session.

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 Andreas G. · Mar 11, 2015 at 12:46 AM

Very interesting. So - was this session state not released by code in your main executing ASP.NET codebase? Or was this the Session State Handler from MS? How did you find out it was this problem? Did you see it in the Purepath or in the CPU sample or Thread Dump?

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 Brian P. · Mar 11, 2015 at 12:42 AM

 

Andreas,

 

Thanks for the comment.  We had come to the same conclusion.  This wound up being an error with the session state not being released.  This caused waits on the threads.

 

Thanks,

Brian

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 Andreas G. · Mar 11, 2015 at 12:33 AM

Hi Brian

Have you seen this blog post of mine - check out the first problem pattern: http://apmblog.dynatrace.com/2015/01/14/c-performance-mistakes-top-problems-solved-december/

I think it is related with busy worker threads. Would be interesting to create some thread dumps and see how many worker tjhreads you actually have and how many of them are busy. Also look at the thread column in the PurePath dashlet as it tells you right away which threads are involved.

Andi

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

1 Person is following this question.

avatar image

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