[rt-users] Tuning RT4
Kevin Falcone
falcone at bestpractical.com
Wed Jul 13 16:06:16 EDT 2011
On Wed, Jul 13, 2011 at 04:42:41PM -0300, Wagner Sartori Junior wrote:
> 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
This should already be set if you're not in DevelMode
> PerlSetVar MasonBufferPreallocateSize 4096000
> PerlSetVar MasonDataCacheDefaults "cache_class=> MemoryCache, cache_depth => 4"
> PerlSetVar MasonPreloads '/Elements/*'
You should be able to set these the same way (since you're still using
mod_perl) or by using the MasonParameters config option that we've
provided for a while
-kevin
> <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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110713/096fb413/attachment.sig>
More information about the rt-users
mailing list