perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dietmar>
Subject mod_perl2 installed, but scripts slow
Date Sun, 20 Aug 2006 02:44:47 GMT

I have recently upgraded from mod perl 1.999 to 2.0.2
on Apache 2.0.54 (Debian).
I recognized that my scripts are being executed very
slow, especially the first request (after server restart)
needs about 4 seconds until a response begins.

I'm using Petal-templating and stuff, which was very slow
on my local machine (Win XP) until i gave mod_perl a try.
But now on our live-server (Debian) it seems as if the
scripts are not being accelerated through mod_perl.

I tried to find out if mod_perl is properly installed,
$ENV{'MOD_PERL'} says 'mod_perl/2.0.2'.
Is there a reliable method to find out if the scripts
are being 'processed' through mod_perl?

My setup:

<Files ~ "\.(html|pl|pm)$">
   SetHandler perl-script
   PerlHandler ModPerl::Registry
   PerlSendHeader On

For installation, i followed instructions on

Some more hints:
After installing, when i tried to restart Apache,
error.log said, it cant find in @INC,
so i removed the line 'PerlModule Apache2' from my conf.
Or is it needed?

And when i restart Apache, i have this notice in error.log:

[Sun Aug 20 04:30:57 2006] [notice] FastCGI: process manager initialized 
(pid 11303)

For my understanding: FastCGI == mod_perl?
And if not, what is FastCGI for?

You'll propably notice, that i am quite a mod_perl newbie,
so thanks for your patience :)

So long,

View raw message