LinHES Forums
http://forum.linhes.org/

mbmon using to much CPU - Resolved
http://forum.linhes.org/viewtopic.php?f=6&t=16559
Page 1 of 1

Author:  tscholl [ Sun Sep 16, 2007 11:35 am ]
Post subject:  mbmon using to much CPU - Resolved

I installed rrdtool duing my latest build but it looks like it's using way to much CPU

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4102 root 28 0 1716 368 304 R 96 0.0 0:28.21 mbmon
3633 mythtv 0 0 461m 306m 121m S 84 30.4 22:35.92 mythfrontend
3446 root 0 0 281m 252m 105m S 16 25.0 4:26.07 Xorg
3291 mythtv 0 0 365m 37m 12m S 3 3.7 1:04.31 mythbackend

Is there a way to turn it on and off?

Thanks

Tim

Author:  tjc [ Sun Sep 16, 2007 12:06 pm ]
Post subject: 

This usually means that it's getting stuck, often because it's not compatible with your motherboard. The way the RRD scripts run it (probe for and report one value) shouldn't leave an instance running. Kill the process, then try running it form the command line to see what happens.

If it's incompatible you may need to disable the RRD monitoring scripts that use it or customize them. See this thread... http://mysettopbox.tv/phpBB2/viewtopic.php?t=16546

Author:  tscholl [ Sun Sep 16, 2007 12:34 pm ]
Post subject: 

Well it looks like its getting stuck, it just hangs when run from the command line so it looks like maybe a motherboard issue.

What do I need to do to disable it for now?

Tim

Author:  tjc [ Sun Sep 16, 2007 2:26 pm ]
Post subject: 

As root run rrd_Configure.sh and turn off MBTemp and MBFan monitoring. See the thread I pointed you to for real fixes.

Author:  tscholl [ Sun Sep 16, 2007 2:39 pm ]
Post subject: 

That just want I need to know. I'll do the mods when I get a chance.

Thanks again for all your hard work and support!

Author:  Too Many Secrets [ Sat Dec 08, 2007 1:55 pm ]
Post subject: 

I've noticed a couple times that and rrd script will just run and lock up things. I've tried to 'uninstall' them using the Configure script, so that no rrds are supposed to run, yet they will still run. Notice this last top

Code:
top - 11:46:40 up 2 days, 18:07,  1 user,  load average: 5.59, 5.59, 5.46
Tasks: 129 total,   3 running, 123 sleeping,   0 stopped,   3 zombie
Cpu(s):  0.0%us, 99.8%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.2%si,  0.0%st
Mem:    902040k total,   890592k used,    11448k free,    18952k buffers
Swap:  1959920k total,   169244k used,  1790676k free,   473360k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 4144 mythtv     0   0     0    0    0 Z  104  0.0 332:17.45 mythfront <defunct>
 1751 root      39   0  3672 1976 1380 R   48  0.2 156:16.80 rrd_Swap.pl
12332 root      39   0  3672 1976 1380 R   48  0.2  23:11.15 rrd_Swap.pl
    1 root       0   0  2036  600  552 S    0  0.1   0:01.14 init
    2 root      RT   0     0    0    0 S    0  0.0   0:00.06 migration/0
    3 root       0  19     0    0    0 S    0  0.0   0:00.00 ksoftirqd/0
    4 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/0
    5 root      RT   0     0    0    0 S    0  0.0   0:00.08 migration/1
    6 root       0  19     0    0    0 S    0  0.0   0:00.00 ksoftirqd/1
    7 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/1
    8 root       0  -5     0    0    0 S    0  0.0   0:00.32 events/0
    9 root       0  -5     0    0    0 S    0  0.0   0:00.35 events/1
   10 root       0  -5     0    0    0 S    0  0.0   0:00.00 khelper
   11 root       0  -5     0    0    0 S    0  0.0   0:00.00 kthread
   15 root       0  -5     0    0    0 S    0  0.0   0:00.01 kblockd/0
   16 root       0  -5     0    0    0 S    0  0.0   0:00.00 kblockd/1
   17 root      17  -5     0    0    0 S    0  0.0   0:00.00 kacpid
r


I tried to killall the frontend and the rrd_Swap.pl but the best I got was to zombie the FE. Had to reboot.

How do I kill the rrd once it's running? and how can I keep it from starting? Where's the startup for rrd?

Author:  mac [ Sat Dec 08, 2007 6:42 pm ]
Post subject: 

rrd is only run from cron..

Just comment out the rrd line from in your /etc/crontab to keep it from running.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/