mod_perl slower than mod_cgi - why???

Hi,
my test-system is build of
* otrs v2.2.3
* sles10, sp1
* apache2
* mysql5
The problem is that otrs runs about 10% faster with mod_cgi compared to
mod_perl2
Why???
And further:
After an apache-restart, phpmyadmin tells me that 5 db-connections from
otrs are sleeping. With every http-request, further connections are
established with a maximum of 12 connection. Is this correct?
(My productive-system on suse prof 9.3 with apache1.3 and mysql4 runs
about 2-3 times faster with mod_perl compared to mod_cgi - that's what I
expect and what I also want to achieve on my test-system.)
My config is attached.
Any help appreciated.
Bye, Alex
# --
# added for OTRS (http://otrs.org/)
# $Id: apache2-httpd-new.include.conf,v 1.3 2007/04/16 12:11:53 martin Exp $
# --
# agent, admin and customer frontend
##ScriptAlias /otrs/ "/opt/otrs-2.2.3/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs-2.2.3/var/httpd/htdocs/"
ScriptAlias /otrs/ "/opt/otrs-2.2.3/bin/cgi-bin/"
# if mod_perl is used
<IfModule mod_perl.c>
# load all otrs modules
Perlrequire /opt/otrs-2.2.3/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk
## PerlModule Apache2::Reload
## PerlInitHandler Apache2::Reload
PerlModule Apache2::RequestRec
# set mod_perl2 options

I just recognized that my productive system is also even slower with mod_perl1-enabled. But I know that it was must faster in the past with enabled mod_perl1. How can I analyse if the preloaded-otrs-modules from apache2-perl-statup.pl are used within every page-request? How can I analyse if otrs opens a new DB-connection or reuses a persistent connection? How can I analyse which part of the whole system could be the slowing one? Sorry for that unspecific question - I really don't have any more ideas? Bye, Alex Alexander Scholler schrieb:
Hi,
my test-system is build of * otrs v2.2.3 * sles10, sp1 * apache2 * mysql5
The problem is that otrs runs about 10% faster with mod_cgi compared to mod_perl2 Why???
And further: After an apache-restart, phpmyadmin tells me that 5 db-connections from otrs are sleeping. With every http-request, further connections are established with a maximum of 12 connection. Is this correct?
(My productive-system on suse prof 9.3 with apache1.3 and mysql4 runs about 2-3 times faster with mod_perl compared to mod_cgi - that's what I expect and what I also want to achieve on my test-system.)
My config is attached.
Any help appreciated.
Bye, Alex
------------------------------------------------------------------------
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? => http://www.otrs.com/
participants (1)
-
Alexander Scholler