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

Re: Perl Run and Load Average

2003-06-06 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: PerlRun error - Not a CODE reference

2003-05-28 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 report

Re: PerlRun error - Not a CODE reference

2003-05-28 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: 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:

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

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

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 . br\n; } It gave me this

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.