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:

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: Perl Run and Load Average

2003-06-06 Thread Perrin Harkins
On Thu, 2003-06-05 at 09:31, Batara Kesuma wrote: I just noticed that the load was going down after I restarted httpd. Is this because of my scripts have bugs? I think I have some DBI connect without disconnect in my scripts. I will try to fix this and see how is the result. Are your scripts

Re: Perl Run and Load Average

2003-06-06 Thread Stas Bekman
Batara Kesuma wrote: I will try to move all standard modules to startup.pl. Do I need to delete the standard modules from the scripts after I moved them to startup.pl? I mean, after I moved: use MyModule; to startup.pl, do I need to delete it from the scripts? Or Perl Run will automatically

Re: Perl Run and Load Average

2003-06-05 Thread Stas Bekman
Batara Kesuma wrote: 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

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-05 Thread Dale Lancaster
of modules which will help, but not much if you have a misconfigured httpd.conf as mentioned above. dale - Original Message - From: Batara Kesuma [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 05, 2003 5:23 AM Subject: Perl Run and Load Average Hi, I have changed all my CGI