[rt-users] Strange errors after upgrade

CJ Kucera rt at apocalyptech.com
Thu Dec 23 10:35:36 EST 2004


Hello all.

I recently upgraded an RT installation from 3.1.10 to 3.2.2, and the
web interface seems to be incredibly touchy now.  Most page loads
require me to hit reload a couple of times before I actually get
content; I have to hit the "Login" button at least two or three
times before I actually get logged in, and occasionally when working
with tickets, I get some crazy Perl error which claims to be
about /opt/rt3/var/session_data not being writeable (which was changed
to 0777 just to be sure a little while ago when I first noticed these
problems), but whose traceback seems to indicate some kind of weird
DBI problem.

When I get this error, the RT vhost becomes completely unresponsive,
and I have to bounce Apache to have anything work on it.  I've attached
the error to this message.

The RT installation is getting its data from a MySQL 4 database, and
when I did the upgrade, it actually moved to a different box as well,
so there's no lingering RT code from a previous release to get in
the way.  The old box that 3.1.10 used to be on was a single-processor
box, and the new one is SMP (and the CPUs are a little bit slower than
the single-processor it had been on before), and since all of these
errors that I'm getting aren't really repeatable every time, I'm
inclined to think that perhaps it's a problem with the box being SMP.

The box RT's been moved to serves up a bunch of other content too,
all of which is working fine, so I don't think it's a problem with
the actual box hardware.  Also, the mailgate stuff seems to work fine;
I haven't experienced any problems with that yet.

Thanks for any ideas!

-CJ

-- 
WOW: Kakistocracy        |  "The ships hung in the sky in much the same
apocalyptech.com/wow     |    way that bricks don't." - Douglas Adams,
rt at apocalyptech.com      |     _The Hitchhiker's Guide To The Galaxy_
-------------- next part --------------

error:   	RT Couldn't write to session directory '/opt/rt3/var/session_data': panic: DBI active kids (2) > kids (1) at /usr/lib/perl5/vendor_perl/5.8.4/Apache/Session/Lock/MySQL.pm line 54.

Stack:
[/usr/lib/perl5/vendor_perl/5.8.4/Apache/Session/Lock/MySQL.pm:54]
[/usr/lib/perl5/vendor_perl/5.8.4/Apache/Session.pm:559]
[/usr/lib/perl5/vendor_perl/5.8.4/Apache/Session.pm:479]
[/usr/lib/perl5/vendor_perl/5.8.4/Apache/Session.pm:392]
[/opt/rt3/share/html/Elements/SetupSessionCookie:64]
[/opt/rt3/share/html/autohandler:79]
. Check that this dir ectory's permissions are correct. at /opt/rt3/share/html/Elements/SetupSessionCookie line 89.
context:  	
...  	
85:  	};
86:  	undef $cookies{$cookiename};
87:  	}
88:  	else {
89:  	die "RT Couldn't write to session directory '$RT::MasonSessionDir': $@. Check that this dir ectory's permissions are correct.";
90:  	}
91:  	}
92:  	
93:  	if ( !$cookies{$cookiename} ) {
...  	
code stack:  	/opt/rt3/share/html/Elements/SetupSessionCookie:89
/opt/rt3/share/html/autohandler:79
raw error

RT Couldn't write to session directory '/opt/rt3/var/session_data': panic: DBI active kids (2) > kids (1) at /usr/lib/perl5/vendor_perl/5.8.4/Apache/Session/Lock/MySQL.pm line 54.

Stack:
  [/usr/lib/perl5/vendor_perl/5.8.4/Apache/Session/Lock/MySQL.pm:54]
  [/usr/lib/perl5/vendor_perl/5.8.4/Apache/Session.pm:559]
  [/usr/lib/perl5/vendor_perl/5.8.4/Apache/Session.pm:479]
  [/usr/lib/perl5/vendor_perl/5.8.4/Apache/Session.pm:392]
  [/opt/rt3/share/html/Elements/SetupSessionCookie:64]
  [/opt/rt3/share/html/autohandler:79]
. Check that this dir ectory's permissions are correct. at /opt/rt3/share/html/Elements/SetupSessionCookie line 89.


Trace begun at /usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception('RT Couldn\'t write to session directory \'/opt/rt3/var/session_data\': panic: DBI active kids (2) > kids (1) at /usr/lib/perl5/vendor_perl/5.8.4/Apache/Session/Lock/MySQL.pm line 54.^J^JStack:^J  [/usr/lib/perl5/vendor_perl/5.8.4/Apache/Session/Lock/MySQL.pm:54]^J  [/usr/lib/perl5/vendor_perl/5.8.4/Apache/Session.pm:559]^J  [/usr/lib/perl5/vendor_perl/5.8.4/Apache/Session.pm:479]^J  [/usr/lib/perl5/vendor_perl/5.8.4/Apache/Session.pm:392]^J  [/opt/rt3/share/html/Elements/SetupSessionCookie:64]^J  [/opt/rt3/share/html/autohandler:79]^J. Check that this dir ectory\'s permissions are correct. at /opt/rt3/share/html/Elements/SetupSessionCookie line 89.^J') called at /opt/rt3/share/html/Elements/SetupSessionCookie line 89
HTML::Mason::Commands::__ANON__('id', 2607) called at /usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x93c2cfc)', 'id', 2607) called at /usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Request.pm line 1074
eval {...}('HTML::Mason::Component::FileBased=HASH(0x93c2cfc)', 'id', 2607) called at /usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'id', 2607) called at /opt/rt3/share/html/autohandler line 79
HTML::Mason::Commands::__ANON__('id', 2607) called at /usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x939bf2c)', 'id', 2607) called at /usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Request.pm line 1069
eval {...}('HTML::Mason::Component::FileBased=HASH(0x939bf2c)', 'id', 2607) called at /usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef, 'id', 2607) called at /usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Request.pm line 338
eval {...}(undef, undef, undef, 'id', 2607) called at /usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Request.pm line 338
eval {...}(undef, undef, undef, 'id', 2607) called at /usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x94fa5c0)') called at /usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/ApacheHandler.pm line 134
eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x94fa5c0)') called at /usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x94fa5c0)') called at /usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/ApacheHandler.pm line 792
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x8c62ec0)', 'Apache=SCALAR(0x85fb9b0)') called at /opt/rt3/bin/webmux.pl line 126
eval {...}('HTML::Mason::ApacheHandler=HASH(0x8c62ec0)', 'Apache=SCALAR(0x85fb9b0)') called at /opt/rt3/bin/webmux.pl line 126
RT::Mason::handler('Apache=SCALAR(0x85fb9b0)') called at /dev/null line 0
eval {...}('Apache=SCALAR(0x85fb9b0)') called at /dev/null line 0



More information about the rt-users mailing list