<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 10pt; color: #000000'>Hello...<br><br>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).<br><br>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.<br><br>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.<br><br>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.<br><br>The web UI is Very slow in 4.0.1.<br><br>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.<br><br>Can anyone help me troubleshoot this?<br><br>Thanks,<br><br>Alex<br><br><u>Techy details about my install:</u><br><br><strong>OS: </strong>Ubuntu 10.04 vsphere 4.1 esxi virtual machine, 1gb ram, 1cpu, 20gb disk thin provisioned.<br><span style="font-weight: bold;">Apache: </span>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<br><span style="font-weight: bold;">PHP: </span><font size="2">PHP Version 5.3.2-1ubuntu4.9</font><br><span style="font-weight: bold;">MySQL:</span> mysql  Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.1 - Innodb enabled and set to default<br><span style="font-weight: bold;">Perl:</span>  v5.10.1 (*)<br><span style="font-weight: bold;">RT:</span> 4.0.1<br><br><span style="font-weight: bold;">Contents of RT_SiteConfig</span><br><br># You must restart your webserver after making changes to this file.<br><br>Set($rtname, 'ITworX Limited');<br>Set($Organization, 'rt.itworx.co.ke');<br>Set($Timezone, 'AFRICA/Nairobi');<br>Set($WebDomain, 'rt.itworx.co.ke');<br>Set($WebBaseURL, 'https://rt.itworx.co.ke');<br>Set($WebPath, '');<br>Set($WebPort, 443);<br>Set($OwnerEmail, "alex@itworx.co.ke");<br>Set($CorrespondAddress, 'support@itworx.co.ke');<br>Set($CommentAddress, 'support@itworx.co.ke');<br>Set($SendmailArguments, "-oi -t");<br><br><br># Logging<br>Set($LogToSyslog, '');<br>Set($LogToFile, 'debug');<br>Set($LogDir, '/opt/rt4/var/log');<br>Set($LogToFileNamed, "rt-debug.log");<br><br><span style="font-weight: bold;">Contents of Apache virtual host entry</span><br><VirtualHost *:443><br>        SSLEngine on<br>        SSLCertificateFile /etc/ssl/certs/cert.pem<br>        ServerAdmin admin@itworx.co.ke<br>        DocumentRoot /opt/rt4/share/html<br>        AddDefaultCharset UTF-8<br><br>        <Location /><br>        Order allow,deny<br>        Allow from all<br><br>        SetHandler modperl<br>        SetHandler modperl<br>        PerlResponseHandler Plack::Handler::Apache2<br>        PerlSetVar psgi_app /opt/rt4/sbin/rt-server<br>        </Location><br>        <Perl><br>         use Plack::Handler::Apache2;<br>         Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");<br>         </Perl><br></VirtualHost><br><hr id="zwchr"><b>From: </b>"Adam Thompson" <athompso@athompso.net><br><b>To: </b>"john s." <fireskyer@gmx.de>, rt-users@lists.bestpractical.com<br><b>Sent: </b>Monday, 25 July, 2011 7:34:27 PM<br><b>Subject: </b>Re: [rt-users] Tuning RT4<br><br>I can't speak for the dev team, but I have noticed a distinct trend:<br><br>Apache+mod_perl is very slow with RT4.0.<br>Lighttpd+FCGI is fast with RT4.0.<br>Standalone PSGI is really fast with RT4.0 (but not very scalable unless <br>you know what you're doing).<br><br>I haven't tested Apache with anything other than mod_perl, so I don't know <br>if it's Apache-specific or mod_perl-specific.<br><br>Most of the speed problems I've seen posted here are with RHEL/CentOS/SL <br>stock httpd & mod_perl installs, so it's also possible the problem is <br>OS-specific.<br><br>(And yes, I have a ticket open to try to narrow this down; unfortunately I <br>haven't had time to keep following up on it.)<br><br>-Adam Thompson<br> athompso@athompso.net<br><br><br><br><br>--------<br>2011 Training: http://bestpractical.com/services/training.html<br></div>
<br><html><body>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.</body></html>
<br></body></html>