View Full Version : Reduce Server Load CPU!
I have just gone onto a VMS and i run my 2 sites on there including http://www.manlystuff.com/forum/index.php
i am told and have found out runs very high cpu and server load and i am in the red on my WHM server status!
how can i reduce this?
Angel-Wings
05-08-2010, 04:06 AM
Run apachetop / mysqltuner / tuning-primer to see what your DB and Apache are doing all the time.
Additionally some profiling tool might help to figure out what SQL Queries might slow down everything. :)
And for sure the logfiles :)
Angel-Wings
05-08-2010, 11:25 AM
With apachetop you can monitor which URL's are accessed how many times and what the Apache processes are doing.
http://www.howtogeek.com/howto/ubuntu/monitor-your-website-in-real-time-with-apachetop/
Or the favorite search engine of your choice might help too. Additionally you can enable mod_status - just temporary - to know a bit better what is taking so long e.g. running a PHP script.
With tuning-primer / mysqltuner you can change the values of your DB to match your needs like tuning Caches as example.
Finally - with OS tools like lsof you can watch opened files abd what processes are doing all the time.
Marco van Herwaarden
05-08-2010, 12:48 PM
As per this forums posting guidelines please use the vBulletin.com Server Configuration (http://www.vbulletin.com/forum/forumdisplay.php?f=14) forum.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.