jed wrote:
brfsa wrote:
high CPU is a sign of excessive forking.
There's quite a few more likely things, depending on what "high CPU" really means.
TRUE, CPU usage is divided in 3 categories: user, system, iowait.
I had experience that mysql was taking on all IOwait, after an extensive mysql profiling we had to tune my.cnf to match the work load (joins, query cache, threads cache, sort_buffer etc)
have a look at the mysql sample config files under /usr/share/doc/mysql-x.x.xx/support-files/ {my-medium.cnf my-large.cnf my-huge.cnf}
Some tools you can use to find out your CPU usage are mpstat (found on sysstat package) and iostat
also:
http://www.cyberciti.biz/tips/how-do-i- ... ation.html