[rt-users] RT 4.0.2 too much CPU hungry !
Bart
bart at pleh.info
Tue Oct 11 06:34:50 EDT 2011
Difficult to say.
We run RT 4.0.2 on a Debian 6 environment as well (manual installation,
manual perl dependency installation via cpan, etc.)
The only thing I see in your posted config is an error in the way your
plugins are included:
Set( @Plugins, qw(RT::Extension::JSGantt RTx::Calendar) );
Set( @Plugins, qw(RT::Authen::ExternalAuth) );
Should become:
Set(@Plugins, (qw(RT::Extension::JSGantt RTx::Calendar
RT::Authen::ExternalAuth)));
As example, this is how our plugin line is displayed:
Set(@Plugins, (qw(RT::Extension::SLA RT::Extension::HistoryFilter
RT::Extension::ResetPassword RT::Extension::MergeUsers)));
I have no clue if this is the error but the way I see it you should edit it
to match the syntax (as displayed in the comments inside the
RT_SiteConfig.pm).
Did you experience the same issues during testing?
-- Bart
2011/10/11 Michele Pinassi <michele.pinassi at unisi.it>
> Hi all,
>
> i've installed RT 4.0.2 in my office over a Debian. Here's apache2 SSL
> config:
>
> <IfModule mod_ssl.c>
> <VirtualHost _default_:443>
> ServerAdmin webmaster at localhost
>
> AddDefaultCharset UTF-8
>
> DocumentRoot "/opt/rt4/share/html"
> <Location />
> Order allow,deny
> Allow from all
> </Location>
>
> SetHandler modperl
> PerlResponseHandler Plack::Handler::Apache2
> PerlSetVar psgi_app /opt/rt4/sbin/rt-server
>
> PerlSetVar MasonStaticSource true
> PerlSetVar MasonBufferPreallocateSize 2048000
> PerlSetVar MasonDataCacheDefaults "cache_class=> MemoryCache,
> cache_depth => 4"
> PerlSetVar MasonPreloads '/Elements/*'
>
> <Perl>
> use Plack::Handler::Apache2;
> Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
> </Perl>
>
> <Directory />
> Options FollowSymLinks
> AllowOverride None
> </Directory>
>
> <Directory /opt/rt4/share/html>
> Options Indexes FollowSymLinks MultiViews
> AllowOverride None
> Order allow,deny
> allow from all
> </Directory>
>
> and this is RT_SiteConfig.pm:
>
> root at centralino:/opt/rt4/etc# cat RT_SiteConfig.pm
>
> ...
>
> Set($WebPort, 443);
>
> Set( @Plugins, qw(RT::Extension::JSGantt RTx::Calendar) );
> Set( @Plugins, qw(RT::Authen::ExternalAuth) );
>
> ...
>
> We use LDAP for external auth and all RT works under SSL for security
> reason.
>
> The problem is that our apache2 istance use almost 100% of CPU and over
> 1GByte of RAM (plus some swap...):
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 6984 www-data 20 0 87936 62m 4016 R 99.4 6.1 0:07.03
> apache2
>
> 7012 root 20 0 2436 1136 896 R 0.7 0.1 0:00.14 top
>
> and web is very slow responsiveness...
>
> Any hint ?
>
> Michele
>
> --
> Michele Pinassi
> Servizio Reti, Sistemi e Sicurezza Informatica
> Università degli Studi di Siena
> tel: 0577.(23)2169
> https://sites.google.com/a/unisi.it/o-zone/
>
>
>
> --------
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * San Francisco, CA, USA — October 18 & 19, 2011
> * Washington DC, USA — October 31 & November 1, 2011
> * Barcelona, Spain — November 28 & 29, 2011
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111011/4e2974a0/attachment.htm>
More information about the rt-users
mailing list