Forum Discussion

Simon_Wright_85's avatar
Simon_Wright_85
Icon for Nimbostratus rankNimbostratus
Oct 21, 2009

Long Running Requests

Hi all

 

 

I am in the process of setting up some application performance monitoring using the Statistics Profiles on our LTM. Its working very well and I can work out number of requests, average time, long running requests etc. This is really good but with the long running requests there is a bit of an issue.

 

 

The statistics profile gets updated once the request has completed but doesnt show anything while a request is running. We have one application at the moment where the odd request can get itself into a state where it will not finish and can cause problems with other requests on the server it is running on.

 

 

I would like to be able to have a counter in the statistics profile that will show me the number of requests that have been outstanding for more than 20 seconds. Is this possible?

 

 

Cheers

 

 

Simon

2 Replies

  • Hi Simon,

     

     

    I don't think that's really possible with normal stats profile functionality. I suppose you could try using the after command (Click here) in v10.0.x to set a timer and update the stats profile counter for requests or responses which have taken more than x number of seconds to complete.

     

     

    Couldn't you check the server access logs though to get this information? Or I would think you could use an iRule which logs in HTTP_RESPONSE and/or CLIENT_CLOSED for how long the response took.

     

     

    Aaron
  • Thanks Aaron

     

     

    I will look at the after command but have to upgrade to v10 first (its on my list but im not allowed to put it at the top yet).

     

     

    We are using the weblogs but unfortunately they only get an entry added after it has finished running so i cant get visibility of the request while it is in progress. there are only a few of these per day that we are intersted in but when they are occuring it would give us a head start on fixing it before it causes customers to get an error.

     

     

    Thanks for having a look at it.

     

     

    Cheers

     

     

    Simon