[rt-users] RT response time
Matthew Seaman
matthew.seaman at thebunker.net
Tue Dec 8 02:00:18 EST 2009
Matthew Seaman wrote:
> Raed El-Hames wrote:
>
>> Versions 3.6.4 and 3.8.5
>> apache2,mod_perl2 and mysql5
>>
>> Have anyone done any kind of monitoring / profiling of RT response
>> time, ie measure the time it takes to display a ticket / (or create a
>> ticket but possibly doing this every 5/10 minutes wont be desirable)
>> Can anyone recommend any software (preferably open source) that can do
>> that?
>
> If you modify the apache log format, you can get it to include the amount
> of time it spends to serve each page. Something like this:
>
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %D"
>
> (See http://httpd.apache.org/docs/2.2/mod/mod_log_config.html)
>
> %D is the time in microseconds it takes to serve the request. There's also
> %T, but that's measured in integer numbers of seconds, so it's almost
> always
> 0 for any reasonably good web-server. %D is to some extent determined by
> how fast the web clients can receive the data, but this should not be
> rate limiting unless you have particularly old and slow client machines
> or people accessing the site through dial-up connections.
>
> AFAIK most weblog analysis software doesn't deal with the time taken to
> serve
> a request, because that data isn't included in the standard log file
> formats.
> However, writing a small perl script to calculate statistics for each of
> the different queries (%r in the format) should be fairly trivial to do.
>
Another approach is to use the Firebug extension to Firefox -- this
gives you a detailed breakdown of the time it takes to display a web
page (including all of the sub-requests for images etc.)
http://getfirebug.com/
Only shows you timings for one page at a time though, and needs to be
run interactively.
Cheers,
Matthew
--
Dr Matthew Seaman The Bunker, Ash Radar Station
PGP: 0x60AE908C on servers Marshborough Rd
Tel: +44 1304 814890 Sandwich
Fax: +44 1304 814899 Kent, CT13 0PL, UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20091208/8baaeaa8/attachment.sig>
More information about the rt-users
mailing list