Portal Home > Knowledgebase > Articles Database > How to reduce server load?
How to reduce server load?
Posted by sotiris25s, 11-29-2009, 04:09 PM |
I have one forum site with warez links on it for about 7 months now.
Im hosted on a shared host and since last week my site keeps being suspended due the servers CPU and RAM usage.
I have contacted the support team of my host but they said to me that they cant find exactly what generates the overload.
I have removed some mods i have installed lately to my site but nothing changed. I saw that my database is 70MB and i think that might be the problem but i dont know how to reduce it or delete any unused entries. I dont even know if thats the problem!
Can anyone suggest me something to fix this important problem?
The site has 1.000 pageviews daily and 300 users visits. My bandwidth and disk space are kept in normal numbers. thats not the problem i think! Thanks in advance!
|
Posted by CodyRo, 11-29-2009, 04:34 PM |
If it's a vanilla vBulletin install those stats should be fine - did you install any hacks / modifications? If so it's highly likely one of them was poorly coded / causing the issues.
|
Posted by sotiris25s, 11-29-2009, 04:45 PM |
its a phpbb forum with validated mods
|
Posted by CodyRo, 11-29-2009, 05:03 PM |
Sorry, not sure why I assumed vBulletin. What mods? What are "validated mods"?
|
Posted by 1HostingPinoy, 11-30-2009, 05:23 AM |
I would also appreciate to know about this issue.
|
Posted by madaboutlinux, 11-30-2009, 05:34 AM |
The database size OR the disk space usage of the account is never a cause for such a high load. If you haven't made any coding related changes, then the only thing I guess are the plugins you may have installed recently. Remove them if you have and ask your host to un-suspend the account to see if it resolves the issue.
If that doesn't solve the issue, ask your host to perform some tasks before they suspend your account OR restart any service.
top c
ps -auxf
watch mysqladmin pr
lsof -p PID (where PID is the process ID of your processes)
These will help them to figure out the processes/queries that are overloading the server.
|
Posted by RapidLeechHost, 11-30-2009, 07:04 AM |
There is either a badly coded Mod or some corrupted tables in your MySQL Database, I think.
You should ask your host to check and repair your MySQL database. Also, ask them to check apache logs and find the URLs which are causing High server load. That may help you to find out the wrongly coded Mod if any,
|
Posted by ksv2nash, 11-30-2009, 08:30 AM |
Hi,
you can check httpd logs for this
from there u will get what error exact ur getting.....
Would u like to show me you my.cnf configuration?
|
Add to Favourites Print this Article
Also Read