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
    <Location /otrs>
#        ErrorDocument 403 /otrs/customer.pl
        ErrorDocument 403 /otrs/index.pl
        SetHandler  perl-script
        PerlResponseHandler ModPerl::Registry
        Options +ExecCGI
        PerlOptions +ParseHeaders
        PerlOptions +SetupEnv
        Order allow,deny
        Allow from all
    </Location>

</IfModule>

# directory settings
<Directory "/opt/otrs-2.2.3/bin/cgi-bin/">
    AllowOverride None
    Options +ExecCGI -Includes
    Order allow,deny
    Allow from all
</Directory>
<Directory "/opt/otrs-2.2.3/var/httpd/htdocs/">
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

# MaxRequestsPerChild (so no apache child will be to big!)
MaxRequestsPerChild 400

Attachment: apache2-perl-startup.perl
Description: Perl program

_______________________________________________
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/

Reply via email to