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 restarting more often which now requires a lot more work to start since Perl is being loaded each time - just an idea.
MaxRequestsPerChild 1000 # if this were too low, say 10 or 50, you would probably create more load # If these were out of wack somehow, it could possibly create some unusual load conditions MaxSpareServers 20 MinSpareServers 5 I would also run "top -d 1" while your webserver is running without mod_perl to see what scripts are causing the load. Do you have a database running on the same system? Do you know if it might be doing more work? Stas already mentioned the pre-loading 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 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 > around 10% more pageviews this week, so the load average shouldn't be that > high. Is this normal? Any advice or comment? Thank you. > > --bk