Re: subroutine redefined

2003-06-14 Thread Batara Kesuma
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.

subroutine redefined

2003-06-14 Thread 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 . "\n"; } It gave me this

Site running mod_perl

2003-06-10 Thread 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

Re: Site running mod_perl

2003-06-10 Thread Batara Kesuma
Hi Ged, > Are you able to give us any numbers for the improvements, even > if they are approximate? When we were using plain CGI: Page view: 3.5 million / mo Load average: 0.6 - 1.2 mod_perl PerlRun: Page view: 4 million / mo Load average: 0.2 - 0.5 I couldn't find the benchmark result on requ

Site running mod_perl

2003-06-10 Thread 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

Re: Perl Run and Load Average

2003-06-10 Thread Batara Kesuma
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: red

Re: Perl Run and Load Average

2003-06-05 Thread Batara Kesuma
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

Re: Perl Run and Load Average

2003-06-05 Thread Batara Kesuma
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

Perl Run and Load Average

2003-06-05 Thread Batara Kesuma
Hi, I have changed all my CGI scripts to run under Perl Run, and now I notice that the load average of my server (it is a dual CPUs) is very high. It stays around 2.5 all the time. Before, when I was running plain CGI, it was around 0.6 - 1.2. I checked the log file and I found that I only have ar

Re: PerlRun error - Not a CODE reference

2003-05-27 Thread Batara Kesuma
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 >

Re: PerlRun error - Not a CODE reference

2003-05-27 Thread Batara Kesuma
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 r