Just Installed MRTG now High CPU
HiI followed the how-to for installing mrtg w/cpanel and linux 7.3 it all went fine, and it works.
But now the CPU load keeps jumping up to 25, but if I restart MySQL it goes back to less than one
Everything was fine before I installed MRTG, and if I stop the MRTG service everythings ok.
Any ideas why this is happening ?
Before MySQL restart ::
12:43am up 52 min, 1 user, load average: 27.70, 23.09, 15.23
324 processes: 305 sleeping, 18 running, 1 zombie, 0 stopped
CPU states: 71.0% user, 27.5% system, 0.0% nice, 1.4% idle
Mem: 1025476K av, 995936K used, 29540K free, 0K shrd, 45156K buff
Swap: 2040244K av, 2644K used, 2037600K free 445316K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM CTIME COMMAND
11061 mysql 14 0 49812 48M 2644 S 4.4 4.8 0:21 mysqld
11064 mysql 13 0 49812 48M 2644 S 4.2 4.8 0:20 mysqld
10782 mysql 16 0 50332 49M 2644 R 3.9 4.9 1:02 mysqld
10787 mysql 15 0 50332 49M 2644 S 3.9 4.9 0:59 mysqld
11056 mysql 20 0 49812 48M 2644 R 3.8 4.8 0:22 mysqld
11058 mysql 12 0 49812 48M 2644 S 3.8 4.8 0:21 mysqld
10812 mysql 16 0 50332 49M 2644 R 3.7 4.9 0:54 mysqld
11071 mysql 14 0 49812 48M 2644 R 3.7 4.8 0:20 mysqld
11075 mysql 14 0 49812 48M 2644 R 3.6 4.8 0:20 mysqld
11146 mysql 12 0 49812 48M 2644 S 3.6 4.8 0:19 mysqld
11247 mysql 14 0 49812 48M 2644 S 3.5 4.8 0:18 mysqld
11668 mysql 12 0 49912 48M 2644 S 3.5 4.8 0:14 mysqld
11164 mysql 13 0 49812 48M 2644 S 3.4 4.8 0:19 mysqld
11392 mysql 13 0 49812 48M 2644 S 3.4 4.8 0:18 mysqld
11655 mysql 13 0 49812 48M 2644 S 3.4 4.8 0:14 mysqld
11319 mysql 14 0 49812 48M 2644 R 3.3 4.8 0:18 mysqld
11663 mysql 12 0 49812 48M 2644 S 3.3 4.8 0:14 mysqld
11175 mysql 13 0 49812 48M 2644 S 3.2 4.8 0:19 mysqld
11057 mysql 13 0 49812 48M 2644 S 3.1 4.8 0:22 mysqld
11401 mysql 12 0 49812 48M 2644 S 3.1 4.8 0:17 mysqld
11666 mysql 14 0 49812 48M 2644 S 3.1 4.8 0:14 mysqld
11109 mysql 13 0 49812 48M 2644 S 3.0 4.8 0:19 mysqld
11195 mysql 14 0 49812 48M 2644 S 3.0 4.8 0:19 mysqld
After :::
12:51am up 59 min, 1 user, load average: 0.68, 8.67, 12.10
154 processes: 150 sleeping, 2 running, 1 zombie, 1 stopped
CPU states: 6.3% user, 4.1% system, 0.0% nice, 89.4% idle
Mem: 1025476K av, 885040K used, 140436K free, 0K shrd, 44660K buff
Swap: 2040244K av, 8148K used, 2032096K free 466496K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
15057 mysql 17 0 17300 16M 2072 S 6.3 1.6 0:00 mysqld
1855 nobody 9 0 13528 13M 10364 S 0.7 1.3 0:04 httpd
12747 root 10 0 1280 1280 848 R 0.5 0.1 0:06 top
1972 nobody 9 0 13860 13M 10216 S 0.3 1.3 0:01 httpd
13766 nobody 9 0 11588 11M 10164 S 0.3 1.1 0:00 httpd
7 root 9 0 0 0 0 SW 0.1 0.0 0:01 kjournald
1811 nobody 9 0 19180 18M 10216 S 0.1 1.8 0:03 httpd
1842 named 10 0 4584 4584 2004 S 0.1 0.4 0:03 named
1 root 8 0 484 484 420 S 0.0 0.0 0:03 init
2 root 9 0 0 0 0 SW 0.0 0.0 0:00 keventd
3 root 19 19 0 0 0 SWN 0.0 0.0 0:02 ksoftirqd_CPU0
4 root 9 0 0 0 0 SW 0.0 0.0 0:00 kswapd
5 root 9 0 0 0 0 SW 0.0 0.0 0:00 bdflush
6 root 9 0 0 0 0 SW 0.0 0.0 0:00 kupdated
127 root 9 0 0 0 0 SW 0.0 0.0 0:00 kjournald
128 root 9 0 0 0 0 SW 0.0 0.0 0:00 kjournald
906 root 9 0 540 540 452 S 0.0 0.0 0:00 syslogd
911 root 9 0 440 440 380 S 0.0 0.0 0:00 klogd
1056 root 9 0 2892 2892 1836 S 0.0 0.2 0:00 snmpd
1074 root 9 0 1216 1216 1088 S 0.0 0.1 0:00 sshd
1108 root 9 0 892 892 724 S 0.0 0.0 0:00 xinetd
1145 root 8 0 2996 2996 1580 S 0.0 0.2 0:00 chkservd
1210 mailnull 8 0 1560 1560 1304 S 0.0 0.1 0:00 exim
For the time being I've just disabled MRTG to stop obscene server loads.
Thanks for helping
Matt

