[rt-users] httpd speed on rt3
Douglas E. Warner
dwarner at ctinetworks.com
Wed Jan 21 14:52:39 EST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 21 January 2004 12:53, Jesse Vincent wrote:
> Ok. There are two tools that it's worth using to attempt to debug what
> code the performance bottleneck is in: MasonX::Profiler and
> Apache::DProf. I'd love to see traces for your longer tickets.
I seem to have Apache::Dprof working, but I'm not getting any output from
MasonX::Profiler. I tried putting the config in both the httpd.conf and in
RT_SiteConfig.pl, but neither seemed to generate output in either my error
log or my RT log (w/ log to file set to 'debug'). Here's what I've tried:
== httpd.conf ==
ServerName rt3.ctinetworks.com
DocumentRoot /usr/local/rt3/share/html
AddDefaultCharset UTF-8
PerlModule Apache::DProf
PerlModule MasonX::Profiler
PerlSetVar MasonPreamble "my $p = MasonX::Profiler->new($m, $r);"
PerlModule Apache::DBI
PerlRequire /usr/local/rt3/bin/webmux.pl
<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>
ErrorLog logs/rt3-error_log
CustomLog logs/rt3-access_log combined
== RT_SiteConfig.pl ==
@MasonParameters = (preamble => 'my $p = MasonX::Profiler->new($m, $r);'); ;
with MasonParameters commented out in httpd.conf
Set($LogToFile , 'debug');
Set($LogDir, '/usr/local/rt3/var/log');
Set($LogToFileNamed , "rt.log"); #log to rt.log
- -Doug
- --
Douglas E. Warner <dwarner at ctinetworks.com> Network Engineer
CTI/PAdotNET http://ctinetworks.com +1 717 975 9000
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFADtiHJV36su0A0xIRAkPwAJ9fxqXkmGgczUADutAbBU1B1wUxRACfQI9h
G+5REt453kwSAP1gei4XNAE=
=+KK/
-----END PGP SIGNATURE-----
More information about the rt-users
mailing list