Portal Home > Knowledgebase > Articles Database > My server is very slow, High CPU, High Apache load....Please help.


My server is very slow, High CPU, High Apache load....Please help.




Posted by awaisuk, 10-31-2009, 04:36 PM
My server is very slow, High CPU, High Apache load....Please help. I got a new server and i had setup a script on it. No server tweaks has been done. I run a filehosting site so it gets very slow when traffic is high. Here is some info: I dont know much about server managment... Can someone tell me how to fix this so server doesnt go slow? Thanks.

Posted by ceridius, 10-31-2009, 04:41 PM
What was the script you installed , perhaps there is something wrong with the code that is causing the issue , what was the load prior to the install of the script?

Posted by awaisuk, 10-31-2009, 04:44 PM
Well the load was normal when the site had less traffic, as the traffic grew the site became slow and slow.

Posted by ceridius, 10-31-2009, 04:47 PM
You should look for a server management company to look into your configuration , and offer up some possible tweaks , or you may need to upgrade your physical hardware.

Posted by awaisuk, 10-31-2009, 04:48 PM
I have already paid for one but its going to take 24hrs for them to setup. In mean time I want to know on how i can fix this issue temporarily.

Posted by PeakVPN-KH, 10-31-2009, 05:10 PM
It appears two-part. The script appears to require high CPU in itself. The other piece is the tweaking of Apache. I'd recompile with Apache mod_fcgid/suexec. You can tweak fcgi and set ulimits based on the script/user, timeouts, etc. This would be the best bet for this situation. I'd also highly recommend yo go with a good server management provider. I'm sure someone is going to jump on the Litespeed boat and make a recommendation soon. Anyway, I don't recommend Litespeed but that is an option. The most feasible option is to use a reverse proxy on the front-end to cut the load down, such as nginx/lighty. This would make a huge difference in the utilization you're seeing.

Posted by HD Fanatic, 11-01-2009, 01:00 PM
It's not a good idea to use Apache to run file hosting. You should switch to a lightweight webserver.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
SQL VIEWS (Views: 252)