[rt-users] Tuning RT4

Alex Rhys-Hurn alex at itworx.co.ke
Mon Jul 25 12:54:54 EDT 2011


Hello... 

I am a brand new RT user. This is my first post. We are network people and dont know much about apache and web server tuning and so forth. (learning fast). 

But, the first trial install of RT that I made using Rt 3.8 using the Ubuntu packages on an Ubuntu 10.04 virtual machine with 1gb ram was super fast. 

Having reviewed RT on that platform, I decided to commit to RT, and made an install of RT 4.0.1 on a fresh but identical Ubuntu 10.04 virtual machine, using Apache2 and mod_perl. 

The RT 4.0.1 is very sluggish compared to the 3.8 version. My RT installs have only the general queue and 5 or 10 tickets as I am just in the trial stage. 

The web UI is Very slow in 4.0.1. 

The php.info and other apache status pages, and webmin that I have running on this machine are superfast, so I point to RT as being the culprit. 

Can anyone help me troubleshoot this? 

Thanks, 

Alex 

Techy details about my install: 

OS: Ubuntu 10.04 vsphere 4.1 esxi virtual machine, 1gb ram, 1cpu, 20gb disk thin provisioned. 
Apache: Server Version: Apache/2.2.14 (Ubuntu) PHP/5.3.2-1ubuntu4.9 with Suhosin-Patch mod_python/3.3.1 Python/2.6.5 mod_ssl/2.2.14 OpenSSL/0.9.8k mod_perl/2.0.4 Perl/v5.10.1 
PHP: PHP Version 5.3.2-1ubuntu4.9 
MySQL: mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.1 - Innodb enabled and set to default 
Perl: v5.10.1 (*) 
RT: 4.0.1 

Contents of RT_SiteConfig 

# You must restart your webserver after making changes to this file. 

Set($rtname, 'ITworX Limited'); 
Set($Organization, 'rt.itworx.co.ke'); 
Set($Timezone, 'AFRICA/Nairobi'); 
Set($WebDomain, 'rt.itworx.co.ke'); 
Set($WebBaseURL, 'https://rt.itworx.co.ke'); 
Set($WebPath, ''); 
Set($WebPort, 443); 
Set($OwnerEmail, "alex at itworx.co.ke"); 
Set($CorrespondAddress, 'support at itworx.co.ke'); 
Set($CommentAddress, 'support at itworx.co.ke'); 
Set($SendmailArguments, "-oi -t"); 


# Logging 
Set($LogToSyslog, ''); 
Set($LogToFile, 'debug'); 
Set($LogDir, '/opt/rt4/var/log'); 
Set($LogToFileNamed, "rt-debug.log"); 

Contents of Apache virtual host entry 
<VirtualHost *:443> 
SSLEngine on 
SSLCertificateFile /etc/ssl/certs/cert.pem 
ServerAdmin admin at itworx.co.ke 
DocumentRoot /opt/rt4/share/html 
AddDefaultCharset UTF-8 

<Location /> 
Order allow,deny 
Allow from all 

SetHandler modperl 
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> 
</VirtualHost> 
----- Original Message -----
From: "Adam Thompson" <athompso at athompso.net> 
To: "john s." <fireskyer at gmx.de>, rt-users at lists.bestpractical.com 
Sent: Monday, 25 July, 2011 7:34:27 PM 
Subject: Re: [rt-users] Tuning RT4 

I can't speak for the dev team, but I have noticed a distinct trend: 

Apache+mod_perl is very slow with RT4.0. 
Lighttpd+FCGI is fast with RT4.0. 
Standalone PSGI is really fast with RT4.0 (but not very scalable unless 
you know what you're doing). 

I haven't tested Apache with anything other than mod_perl, so I don't know 
if it's Apache-specific or mod_perl-specific. 

Most of the speed problems I've seen posted here are with RHEL/CentOS/SL 
stock httpd & mod_perl installs, so it's also possible the problem is 
OS-specific. 

(And yes, I have a ticket open to try to narrow this down; unfortunately I 
haven't had time to keep following up on it.) 

-Adam Thompson 
athompso at athompso.net 




-------- 
2011 Training: http://bestpractical.com/services/training.html 

This e-mail contains confidential information or information belonging to ITworX Limited and is intended solely for the addressees. The opinions therein, explicit or implied, are solely those of the author and do not necessarily represent those of ITworX Limited as a company. The unauthorized disclosure, use, dissemination or copying (either Whole or partial) of this e-mail, or any information it contains, is prohibited. E-mails are susceptible to alteration and their integrity cannot be guaranteed. ITworX Limited shall not be liable for this e-mail if modified or falsified. If you are not the intended recipient of this e-mail, please delete it immediately from your system and notify the sender of the wrong delivery and the e-mail deletion.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110725/82504bf9/attachment.htm>


More information about the rt-users mailing list