• 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 Ditmar P. · May 12, 2014 at 09:35 PM ·

Time lost between IIS webserver and .net agent

Hi,

I am seeing time gaps on elapsed time between web request coming in and the moment .net starts processing them. I have attached a picture which shows an example. It's not consistent and can take from 1ms to 1000ms, sometimes its fast and sometimes its slow. There is no other component in between.

Is there a way to put this time difference in a graph? I would like to see how this time gap evolves over time.

Any ideas to what might be causing this? (CPU, Mem, Disk all seem healthy).

Regards,

Patrick

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 Ditmar P. · May 13, 2014 at 02:09 AM

Hi Andreas,

Thanks for your reply!

Your first suggestion indeed is the simplest way to graph this. However I have put a measure on the "Method -> Exec Time" as well as the "Method -> Time" for the Web request node in the PurePath. When I chart these in a graph I do not get any data for both.

Any idea why ? (see attached screen)

Comment

People who like this

0 Show 1 · 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 Rick B. · May 13, 2014 at 03:35 AM 0
Share

These measures don't work for the Web Server nodes, you'll have to work with the "ProcessRequestNotificationHelper()" Method and compare this to the PurePath Response Time.  The difference between the two on the same chart should be the execution/delay caused by the web server

avatar image

Answer by Andreas G. · May 13, 2014 at 12:31 AM

Hi Patrick

You could try to chart the Execution Time of the Web Request (create an Exec Time Measure on that Method Node) or the Tier Subpath Time (thats also a separate measure you can create). You can then chart it over time and figure out when you see your spikes.

As for the root cause of it

a) It is either a native module in IIS that takes time, e.g: Authoriztion, URL Rewrites, Content Compression, ..

b) it could be that it is related to very large request/response sizes that IIS needs to read or write back to the browser. In combination with low bandwidth this can consume time. Best here is to look at the request/reponse size details of the request

c) if you say it happens sporadically when the .NET Process starts it could be that the time is taken by the .NET CLR to fully initializes after the ASP.NET Engine has been shutdown due to inactivity or due to a scheduled restart of the AppPool Worker Process. Then the first request will just naturally take longer before IIS can pass the request to .NET

d) you have a lot of traffic coming in on IIS but all your ASP.NET WOrker Threads are busy because they are still processing other requests. That will mean that new requests have to queue up before they can get processed. There are several ASP.NET and IIS Performance Counters that you can look at, e.g: Requests Queued, ...

Hope this helps

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 Ditmar P. · May 12, 2014 at 09:36 PM

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