[rt-users] Tuning RT4
Wagner Sartori Junior
wsartori at gmail.com
Wed Jul 13 15:42:41 EDT 2011
Hi,
I have a huge(>2M Tickets, ~500 tickets/day) 3.8.1 RT installation and
I'm trying to upgrade to 4.0.1.
I'm facing some performance problems on my staging server(it's almost
the same spec as my production server).
I'm using on 3.8.1:
Alias /rt/ /opt/rt3/share/html/
<Directory /opt/rt3/share/html/>
Order allow,deny
Allow from all
</Directory>
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
PerlSetVar MasonStaticSource true
PerlSetVar MasonBufferPreallocateSize 4096000
PerlSetVar MasonDataCacheDefaults "cache_class=> MemoryCache, cache_depth => 4"
PerlSetVar MasonPreloads '/Elements/*'
<Location /rt/>
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason
</Location>
To make 4.0.1 works I'd have to change to:
<Location /rt>
Order allow,deny
Allow from all
SetHandler modperl
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt4/sbin/rt-server
</Location>
<Perl>
use Plack::Handler::Apache2;
Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
</Perl>
The question is: How can I assign the Mason variables(StaticSource,
BufferSize, Preloads, ...) on RT4?
Thanks,
Wagner Sartori Junior
More information about the rt-users
mailing list