RT Performance after Perl modules upgrade on CentOS

Has anybody notices a dramatic performance decrease with any recent
perl cpan upgrades? I’ve recently upgraded the CPAN modules and RT has
taken a significant hit - performance easily dropped by 70-80%.

I haven’t had a chance to look fully into it - it isn’t heavily used
currently - so I figured I’d ask if someone has perhaps run into
it… OS is CentOS v4.5 and the logs are peppered with the following
warnings,

Use of uninitialized value in substitution (s///) at /usr/local/rt3/
lib/RT/Interface/Web.pm line 632.
Use of uninitialized value in pattern match (m//) at /usr/local/rt3/
lib/RT/I18N.pm line 395.

These all correspond with the day that performance dropped so I am
looking at downgrading Encode and a few other modules,

Here are my current perl modules,
Perl v5.8.5 under linux
Apache::Session v1.84;
Apache::Session::Generate::MD5 v2.1;
Apache::Session::lock::MySQL v1.00;
Apache::Session::MySQL v1.01;
Apache::Session::Serialize::Storable v1.01;
Apache::Session::Store::DBI v1.02;
Apache::Session::Store::MySQL v1.04;
AutoLoader v5.63;
base v2.12;
bytes v1.01;
Cache::Simple::TimedExpiry v0.27;
capitalization v0.03;
Carp v1.03;
CGI v3.29;
CGI::Cookie v1.28;
CGI::Fast v1.07;
CGI::Util v1.5;
Class::Container v0.12;
Class::Data::Inheritable v0.06;
Class::ReturnValue v0.55;
Clone v0.28;
constant v1.12;
Convert::ASN1 v0.21;
Cwd v3.25;
Data::Dumper v2.121;
DBD::mysql v4.005;
DBI v1.601;
DBIx::SearchBuilder v1.49;
DBIx::SearchBuilder::Union v0;
DBIx::SearchBuilder::Unique v0.01;
Devel::StackTrace v1.15;
Devel::StackTraceFrame v0.6;
Devel::Symdump v2.08;
Digest::base v1.00;
Digest::MD5 v2.36;
DynaLoader v1.05;
Encode v2.23;
Encode::Alias v2.07;
Encode::Config v2.04;
Encode::Encoding v2.05;
Encode::Guess v2.02;
Encode::Unicode v2.05;
Errno v1.1;
Exception::Class v1.23;
Exception::Class::Base v1.2;
Exporter v5.58;
Exporter::Heavy v5.58;
FCGI v0.67;
Fcntl v1.05;
File::Basename v2.73;
File::Glob v1.03;
File::Path v2.03;
File::Spec v3.25;
File::Spec::Unix v1.5;
File::Temp v0.18;
FileHandle v2.01;
HTML::Element v3.23;
HTML::Entities v1.35;
HTML::Formatter v2.04;
HTML::FormatText v2.04;
HTML::Mason v1.37;
HTML::Mason::CGIHandler v1.00;
HTML::Mason::Exception v1.1;
HTML::Mason::Exception::Abort v1.1;
HTML::Mason::Exception::Compilation v1.1;
HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1;
HTML::Mason::Exception::Compiler v1.1;
HTML::Mason::Exception::Decline v1.1;
HTML::Mason::Exception::Params v1.1;
HTML::Mason::Exception::Syntax v1.1;
HTML::Mason::Exception::System v1.1;
HTML::Mason::Exception::TopLevelNotFound v1.1;
HTML::Mason::Exception::VirtualMethod v1.1;
HTML::Mason::Exceptions v1.43;
HTML::Parser v3.56;
HTML::Scrubber v0.08;
HTML::Tagset v3.10;
HTML::TreeBuilder v3.23;
HTTP::Date v1.47;
I18N::LangTags v0.35;
I18N::LangTags::Detect v1.03;
integer v1.00;
IO v1.23;
IO::File v1.14;
IO::Handle v1.27;
IO::InnerFile v2.110;
IO::Lines v2.110;
IO::ScalarArray v2.110;
IO::Seekable v1.1;
IO::Select v1.17;
IO::Socket v1.30;
IO::Socket::INET v1.31;
IO::Socket::UNIX v1.23;
IO::WrapTie v2.110;
IPC::Open2 v1.01;
IPC::Open3 v1.0106;
lib v0.5565;
List::Util v1.19;
Locale::Maketext v1.12;
Locale::Maketext::Fuzzy v0.10;
Locale::Maketext::Lexicon v0.64;
Locale::Maketext::Lexicon::Gettext v0.15;
Log::Dispatch v2.20;
Log::Dispatch::Base v1.09;
Log::Dispatch::File v1.22;
Log::Dispatch::Output v1.26;
Log::Dispatch::Screen v1.17;
Log::Dispatch::Syslog v1.18;
Mail::Address v1.77;
Mail::Field v1.77;
Mail::Field::AddrList v1.77;
Mail::Field::Date v1.77;
Mail::Header v1.77;
Mail::Internet v1.77;
MIME::Base64 v3.07;
MIME::Body v5.425;
MIME::Decoder v5.425;
MIME::Decoder::NBit v5.425;
MIME::Decoder::QuotedPrint v5.425;
MIME::Entity v5.425;
MIME::Field::ContDisp v5.425;
MIME::Field::ConTraEnc v5.425;
MIME::Field::ContType v5.425;
MIME::Field::ParamVal v5.425;
MIME::Head v5.425;
MIME::Parser v5.425;
MIME::QuotedPrint v3.07;
MIME::Tools v5.425;
MIME::Words v5.425;
Module::Versions::Report v1.03;
Net::LDAP v0.34;
Net::LDAP::ASN v0.04;
Net::LDAP::Bind v1.02;
Net::LDAP::Constant v0.04;
Net::LDAP::Entry v0.23;
Net::LDAP::Filter v0.15;
Net::LDAP::Message v1.09;
Net::LDAP::Search v0.11;
Net::LDAP::Util v0.11;
overload v1.01;
Params::Validate v0.89;
PerlIO v1.03;
PerlIO::scalar v0.02;
POSIX v1.08;
re v0.04;
Regexp::Common v2.120;
Regexp::Common::delimited v2.104;
RT v3.6.5;
RT::Interface::Email v2;
Scalar::Util v1.19;
SelectSaver v1.00;
Socket v1.77;
Storable v2.17;
strict v1.03;
Symbol v1.05;
Sys::Syslog v0.23;
Text::Autoformat v1.13;
Text::Quoted v2.03;
Text::Reform v1.11;
Text::Tabs v2007.1117;
Text::Template v1.44;
Text::Wrapper v1.01;
Tie::Hash v1.01;
Time::HiRes v1.9708;
Time::JulianDay v2003.1125;
Time::Local v1.18;
Time::ParseDate v2006.0814;
Time::Timezone v2006.0814;
Time::Zone v2.22;
Tree::Simple v1.18;
UNIVERSAL v1.01;
UNIVERSAL::require v0.11;
URI v1.35;
URI::Escape v3.28;
URI::URL v5.03;
URI::WithBase v2.19;
utf8 v1.04;
vars v1.01;
warnings v1.03;
warnings::register v1.00;
XSLoader v0.08;

Problem resolved the hard way… I’ve renamed /usr/lib/perl5 and then
forced a reinstall of the perl packaged and followed it via a make
fixdeps. System is back to its normal speed… This will teach me to
do a blind ‘upgrade’ in cpan on all modules.On 20-Nov-07, at 3:30 PM, Edward Kovarski wrote:

Has anybody notices a dramatic performance decrease with any recent
perl cpan upgrades? I’ve recently upgraded the CPAN modules and RT
has taken a significant hit - performance easily dropped by 70-80%.

I haven’t had a chance to look fully into it - it isn’t heavily used
currently - so I figured I’d ask if someone has perhaps run into
it… OS is CentOS v4.5 and the logs are peppered with the
following warnings,

Use of uninitialized value in substitution (s///) at /usr/local/rt3/
lib/RT/Interface/Web.pm line 632.
Use of uninitialized value in pattern match (m//) at /usr/local/rt3/
lib/RT/I18N.pm line 395.

These all correspond with the day that performance dropped so I am
looking at downgrading Encode and a few other modules,

Here are my current perl modules,
Perl v5.8.5 under linux
Apache::Session v1.84;
Apache::Session::Generate::MD5 v2.1;
Apache::Session::lock::MySQL v1.00;
Apache::Session::MySQL v1.01;
Apache::Session::Serialize::Storable v1.01;
Apache::Session::Store::DBI v1.02;
Apache::Session::Store::MySQL v1.04;
AutoLoader v5.63;
base v2.12;
bytes v1.01;
Cache::Simple::TimedExpiry v0.27;
capitalization v0.03;
Carp v1.03;
CGI v3.29;
CGI::Cookie v1.28;
CGI::Fast v1.07;
CGI::Util v1.5;
Class::Container v0.12;
Class::Data::Inheritable v0.06;
Class::ReturnValue v0.55;
Clone v0.28;
constant v1.12;
Convert::ASN1 v0.21;
Cwd v3.25;
Data::Dumper v2.121;
Date::Format v2.22;
Date::Parse v2.27;
DBD::mysql v4.005;
DBI v1.601;
DBIx::SearchBuilder v1.49;
DBIx::SearchBuilder::Union v0;
DBIx::SearchBuilder::Unique v0.01;
Devel::StackTrace v1.15;
Devel::StackTraceFrame v0.6;
Devel::Symdump v2.08;
Digest::base v1.00;
Digest::MD5 v2.36;
DynaLoader v1.05;
Encode v2.23;
Encode::Alias v2.07;
Encode::Config v2.04;
Encode::Encoding v2.05;
Encode::Guess v2.02;
Encode::Unicode v2.05;
Errno v1.1;
Exception::Class v1.23;
Exception::Class::Base v1.2;
Exporter v5.58;
Exporter::Heavy v5.58;
FCGI v0.67;
Fcntl v1.05;
File::Basename v2.73;
File::Glob v1.03;
File::Path v2.03;
File::Spec v3.25;
File::Spec::Unix v1.5;
File::Temp v0.18;
FileHandle v2.01;
HTML::Element v3.23;
HTML::Entities v1.35;
HTML::Formatter v2.04;
HTML::FormatText v2.04;
HTML::Mason v1.37;
HTML::Mason::CGIHandler v1.00;
HTML::Mason::Exception v1.1;
HTML::Mason::Exception::Abort v1.1;
HTML::Mason::Exception::Compilation v1.1;
HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1;
HTML::Mason::Exception::Compiler v1.1;
HTML::Mason::Exception::Decline v1.1;
HTML::Mason::Exception::Params v1.1;
HTML::Mason::Exception::Syntax v1.1;
HTML::Mason::Exception::System v1.1;
HTML::Mason::Exception::TopLevelNotFound v1.1;
HTML::Mason::Exception::VirtualMethod v1.1;
HTML::Mason::Exceptions v1.43;
HTML::Parser v3.56;
HTML::Scrubber v0.08;
HTML::Tagset v3.10;
HTML::TreeBuilder v3.23;
HTTP::Date v1.47;
I18N::LangTags v0.35;
I18N::LangTags::Detect v1.03;
integer v1.00;
IO v1.23;
IO::File v1.14;
IO::Handle v1.27;
IO::InnerFile v2.110;
IO::Lines v2.110;
IO::ScalarArray v2.110;
IO::Seekable v1.1;
IO::Select v1.17;
IO::Socket v1.30;
IO::Socket::INET v1.31;
IO::Socket::UNIX v1.23;
IO::WrapTie v2.110;
IPC::Open2 v1.01;
IPC::Open3 v1.0106;
lib v0.5565;
List::Util v1.19;
Locale::Maketext v1.12;
Locale::Maketext::Fuzzy v0.10;
Locale::Maketext::Lexicon v0.64;
Locale::Maketext::Lexicon::Gettext v0.15;
Log::Dispatch v2.20;
Log::Dispatch::Base v1.09;
Log::Dispatch::File v1.22;
Log::Dispatch::Output v1.26;
Log::Dispatch::Screen v1.17;
Log::Dispatch::Syslog v1.18;
Mail::Address v1.77;
Mail::Field v1.77;
Mail::Field::AddrList v1.77;
Mail::Field::Date v1.77;
Mail::Header v1.77;
Mail::Internet v1.77;
MIME::Base64 v3.07;
MIME::Body v5.425;
MIME::Decoder v5.425;
MIME::Decoder::NBit v5.425;
MIME::Decoder::QuotedPrint v5.425;
MIME::Entity v5.425;
MIME::Field::ContDisp v5.425;
MIME::Field::ConTraEnc v5.425;
MIME::Field::ContType v5.425;
MIME::Field::ParamVal v5.425;
MIME::Head v5.425;
MIME::Parser v5.425;
MIME::QuotedPrint v3.07;
MIME::Tools v5.425;
MIME::Words v5.425;
Module::Versions::Report v1.03;
Net::LDAP v0.34;
Net::LDAP::ASN v0.04;
Net::LDAP::Bind v1.02;
Net::LDAP::Constant v0.04;
Net::LDAP::Entry v0.23;
Net::LDAP::Filter v0.15;
Net::LDAP::Message v1.09;
Net::LDAP::Search v0.11;
Net::LDAP::Util v0.11;
overload v1.01;
Params::Validate v0.89;
PerlIO v1.03;
PerlIO::scalar v0.02;
POSIX v1.08;
re v0.04;
Regexp::Common v2.120;
Regexp::Common::delimited v2.104;
RT v3.6.5;
RT::Interface::Email v2;
Scalar::Util v1.19;
SelectSaver v1.00;
Socket v1.77;
Storable v2.17;
strict v1.03;
Symbol v1.05;
Sys::Syslog v0.23;
Text::Autoformat v1.13;
Text::Quoted v2.03;
Text::Reform v1.11;
Text::Tabs v2007.1117;
Text::Template v1.44;
Text::Wrapper v1.01;
Tie::Hash v1.01;
Time::HiRes v1.9708;
Time::JulianDay v2003.1125;
Time::Local v1.18;
Time::ParseDate v2006.0814;
Time::Timezone v2006.0814;
Time::Zone v2.22;
Tree::Simple v1.18;
UNIVERSAL v1.01;
UNIVERSAL::require v0.11;
URI v1.35;
URI::Escape v3.28;
URI::URL v5.03;
URI::WithBase v2.19;
utf8 v1.04;
vars v1.01;
warnings v1.03;
warnings::register v1.00;
XSLoader v0.08;


The rt-users Archives

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31,
we’ll take
up to 20 percent off the price. This sale won’t last long, so get in
touch today. Email us at sales@bestpractical.com or call us at +1
617 812 0745.

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly
Media.Buy a copy at http://rtbook.bestpractical.com