Hi Stas,
Based on your previous questions, my guess is that you are using
mod_perl 1.99_09. Please be more verbose about your setup when asking
questions.
Sorry, here is my setup.
mod_perl-1.99_09
httpd-2.0.40
Do you preload the modules that you use at the server startup? Your
PerlRun
Hi Dale,
Assuming your CGI scripts aren't doing strange things, liking hanging
around after the session has closed and doing clean-up work, you might
check your httpd.conf settings on the number of threads and requests per
threads. Its possible that your httpd threads are short-lived and
Hi Stas,
First upgrade to 1.99_09. Then run its test suite.
After, I think Dale, has reported a similar problem, I have written a
dedicated test for this report. You can verify whether it works for you
cd ModPerl-Registry/
t/TEST -v t/perlrun_require.t
If it doesn't, please report
Hi Dale,
I tried to run the same configuration a while back using the stock
release of RedHat 8.0 and received the same problem. Stas gave me a few
ideas to try but nothing worked, so I gave up using Apache 2.0 with
PerlRun mode and had to drop back to Apache 1.3 with mod_perl 1.27. I
Hi all,
Thank you for all your suggestions. Now the load average on my server is
back to normal again :) It is around 0.2 - 0.5 now with the same
pageviews. Ok not just normal, actually the load average is even lower
than when I was using CGI (which was around 0.6 - 1.2).
The changes I made:
per month. Our whole system was running under plain CGI written in
Perl, until recently we changed it to mod_perl with HTML::Template
templating system. The speed improvement is significant, and the CPUs load
average are lower than when we were running plain CGI.
--Batara Kesuma
per month. Our whole system was running under plain CGI written in
Perl, until recently we changed it to mod_perl with HTML::Template
templating system. The speed improvement is significant, and the CPUs load
average are lower than when we were running plain CGI.
--Batara Kesuma
Hi,
I tried using ModPerl::Registry with this piece of CGI code:
#!/usr/bin/perl -w
use CGI;
use strict;
my $cgi = CGI::-new;
print $cgi-header;
our $count = 0;
for (1 .. 5) {
increase_count();
}
sub increase_count {
our $count;
$count++;
print $count . br\n;
}
It gave me this
On Sat, 14 Jun 2003 16:40:15 +0900
Batara Kesuma [EMAIL PROTECTED] wrote:
What is the problem?
Ok, I just figured out that the error went away if I restarted the httpd
server.