kickster
04-16-2001, 08:12 PM
My raq3 server is running at high CPU load some times as high as 60.
Most of the CPU resources are taken by a CGI script. Would adding more RAM improve the
overall CPU usage? ((I have 128)
What is a normal CPU load? what is the max limit?
Woofcat
04-16-2001, 08:42 PM
More memory would help but I doubt it would solve your problem...
Have you disabled cgiwrap? That can help sometimes...
What kind of script is it anyway? I'm running a web game with 1000+ players and a popular message board on mine and CPU usage is almost always 0.0...
kickster
04-17-2001, 12:09 AM
I am running a banner exchange with 100,000 banners per day.
What is the function of cgiwrap? how do I turn it off?
Thanks
Gilby
04-17-2001, 12:45 AM
cgi-wrap makes it where the cgi scripts are run by the owner of the file instead of by the user running httpd. This is a security thing so that scripts can't modify or look at other files that httpd can write/read on the server.
To disable it, you can make a .htaccess file in the web directory with the following lines in it:
AddHandler cgi-script .pl
AddHandler cgi-script .cgi