Global Moderator
Internet Junkie
Gender:
Posts: 1807
9006 credits Members referred : 6
« on: Jan 15, 2007, 03:02:53 PM »
My proxy sites are getting some major traffic today, so much that it's crushing my server. I see the CPU usage listed at 168 at the moment and the sites on the server are almost not responding at all. What does the 168 CPU usage mean? I know its not % as in windows. I'm a real noob when it comes to Linux...
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 8116
41653 credits Members referred : 3
« Reply #3 on: Jan 15, 2007, 03:25:57 PM »
That may be a hardware problem. Contact your host to be sure on that.
As the site uses a cgi proxy it is common to have so much CPU usage. The only thing you can do to reduce that, is mod_perl but it is a little hard to install it....
Global Moderator
Internet Junkie
Gender:
Posts: 1807
9006 credits Members referred : 6
« Reply #4 on: Jan 15, 2007, 03:32:12 PM »
There is something I have to do, because now the websites are not responding at all. And I thought I would be ok for a while with a INTEL P4 3.0GHz HT and 2GB of memory...
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 8116
41653 credits Members referred : 3
« Reply #5 on: Jan 15, 2007, 03:35:51 PM »
You need to restart the server, and then check the apache error_log to see what happened. If there is no message there, then propably your server can't deal with the traffic, so you will have to find ways to optimize it (or upgrade)
Global Moderator
Internet Junkie
Gender:
Posts: 1807
9006 credits Members referred : 6
« Reply #6 on: Jan 15, 2007, 03:38:25 PM »
What about the mod_perl? I can select an option 'mod_perl support' on my domains so I guess it is already installed on the server. After enabling it for the domains do I have to do anything else to make it work?
What about the mod_perl? I can select an option 'mod_perl support' on my domains so I guess it is already installed on the server. After enabling it for the domains do I have to do anything else to make it work?
Yes you need to add some directives per domain to use mod_perl per script.