Raed El-Hames wrote:
Versions 3.6.4 and 3.8.5 apache2,mod_perl2 and mysql5Have 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 byhow 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.
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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com