LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Why do I have a High System CPU Usage Bottleneck (http://www.linuxquestions.org/questions/linux-software-2/why-do-i-have-a-high-system-cpu-usage-bottleneck-225818/)

linuxboy69 09-02-2004 03:47 PM

Why do I have a High System CPU Usage Bottleneck
 
Here is the output of top:

CPU0 states: 18.0% user, 77.3% system, 0.0% nice, 4.1% idle
CPU1 states: 21.5% user, 74.0% system, 0.0% nice, 3.4% idle
CPU2 states: 13.3% user, 81.0% system, 0.0% nice, 5.1% idle
CPU3 states: 28.5% user, 67.2% system, 0.0% nice, 3.3% idle

as you can see, I have 4 CPUs on the same machine that are bogged down by System useage???? What could cause this. The only two services that I have running on this server are NFS and MySQL.

Anyone know what might cause this all of a sudden. I was reading that this can sometimes be caused by NFS. I am still looking into it.

Thanks in advance

stickman 09-02-2004 04:24 PM

Which process seems to be taking all of CPU resources?

linuxboy69 09-02-2004 04:38 PM

oops sorry, this is the later part of top:
Code:

4540 mysql3    25  0  494M 494M  3124 R    87.6 24.6  14:35 mysqld
 2322 mysql3    25  0  493M 493M  3124 R    68.3 24.5  73:42 mysqld
 1313 mysql3    25  0  493M 493M  3124 R    65.9 24.5 101:42 mysqld
 1314 mysql3    25  0  493M 493M  3124 R    59.0 24.5 101:11 mysqld
 4637 mysql3    25  0  494M 494M  3124 R    49.6 24.6  7:11 mysqld
                                              ^
                                              CPU


linuxboy69 09-02-2004 04:55 PM

Here is the iostat -x for the device that the mysql service is running on:

Code:

Device:  rrqm/s wrqm/s  r/s  w/s  rsec/s  wsec/s avgrq-sz avgqu-sz  await  svctm  %util
sdc        7.52  20.50  9.52 49.13  136.26  560.69    11.89  135.71 2314.02  20.39  11.96
sdc1      7.52  20.50  9.52 49.13  136.26  560.69    11.89  135.71 2314.02  20.39  11.96



All times are GMT -5. The time now is 02:09 AM.