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

"rdd" Out of Control
http://forums.linhes.org/viewtopic.php?f=14&t=16704
Page 1 of 1

Author:  mymythtv [ Mon Sep 24, 2007 4:57 am ]
Post subject:  "rdd" Out of Control

I am seeing "rdd_CPU.pl" running 40+ times on my box and each is taking up about 5% of my cpus (I have two) utilization. How can I stop rdd from running?

Author:  tjc [ Mon Sep 24, 2007 6:42 am ]
Post subject: 

Rerun the rrd_Configure.sh script and turn it off. Now covered on the Troubleshooting pages on the wiki linked below...

Author:  mymythtv [ Mon Sep 24, 2007 4:20 pm ]
Post subject: 

Thanks....still don't know why rdd spawned so many jobs but I didn't really use much anyways.

Author:  mymythtv [ Sat Sep 29, 2007 3:57 am ]
Post subject: 

I re-ran the configure script but rrd seemed to continue to run as can be seen in the two snippets from syslog below. Also note that each caused my system to lock hard and required a reset of the machine:

****09:02 - first problem

Sep 28 08:40:01 mythtv /USR/SBIN/CRON[9529]: (root) CMD (test -x /usr/local/bin/run_rrd && /usr/local/bin/run_rrd)
Sep 28 08:45:01 mythtv /USR/SBIN/CRON[9532]: (root) CMD (test -x /usr/local/bin/run_rrd && /usr/local/bin/run_rrd)
Sep 28 08:45:01 mythtv /USR/SBIN/CRON[9533]: (root) CMD ([ -x /usr/lib/sysstat/sa1 ] && { [ -r "$DEFAULT" ] && . "$DEFAULT" ; [ "$ENABLED" = "true" ] && exec
/usr/lib/sysstat/sa1 $SA1_OPTIONS 1 1 ; })
Sep 28 08:50:01 mythtv /USR/SBIN/CRON[9535]: (root) CMD (test -x /usr/local/bin/run_rrd && /usr/local/bin/run_rrd)
Sep 28 09:02:45 mythtv syslogd 1.4.1#20: restart.
Sep 28 09:02:45 mythtv kernel: klogd 1.4.1#20, log source = /proc/kmsg started.
Sep 28 09:02:45 mythtv kernel: Linux version 2.6.18-chw-13 (root@mythtv) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP PREEMPT Sat Jun 2
21:06:06 PDT 2007

****13:40 - second problem

Sep 28 13:25:01 mythtv /USR/SBIN/CRON[4332]: (root) CMD ([ -x /usr/lib/sysstat/sa1 ] && { [ -r "$DEFAULT" ] && . "$DEFAULT" ; [ "$ENABLED" = "true" ] && exec
/usr/lib/sysstat/sa1 $SA1_OPTIONS 1 1 ; })
Sep 28 13:30:01 mythtv /USR/SBIN/CRON[4335]: (root) CMD (test -x /usr/local/bin/run_rrd && /usr/local/bin/run_rrd)
Sep 28 13:35:01 mythtv /USR/SBIN/CRON[4343]: (root) CMD (test -x /usr/local/bin/run_rrd && /usr/local/bin/run_rrd)
Sep 28 13:35:01 mythtv /USR/SBIN/CRON[4344]: (root) CMD ([ -x /usr/lib/sysstat/sa1 ] && { [ -r "$DEFAULT" ] && . "$DEFAULT" ; [ "$ENABLED" = "true" ] && exec
/usr/lib/sysstat/sa1 $SA1_OPTIONS 1 1 ; })
Sep 28 13:39:01 mythtv /USR/SBIN/CRON[4346]: (root) CMD ( [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | x
args -r -0 rm)
Sep 28 13:40:01 mythtv /USR/SBIN/CRON[4356]: (root) CMD (test -x /usr/local/bin/run_rrd && /usr/local/bin/run_rrd)
Sep 28 17:45:51 mythtv syslogd 1.4.1#20: restart.
Sep 28 17:45:51 mythtv kernel: klogd 1.4.1#20, log source = /proc/kmsg started.
Sep 28 17:45:51 mythtv kernel: Linux version 2.6.18-chw-13 (root@mythtv) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP PREEMPT Sat Jun 2
21:06:06 PDT 2007

I have since re-re-ran the script and it appears to have stopped although it's only been 12 hours.

In any case does anyone know why rrd would cause a hard lock on the system?

Thanks!

Author:  tjc [ Sat Sep 29, 2007 8:47 am ]
Post subject: 

The mbmon utility that it uses isn't compatible with all motherboards. In the worst case it hangs forever and spins bits as you've observed. You can either reboot or pkill -9 mbmon ; pkill -9 rrd to get rid of any remaining processes.

Searching for "mbmon" and "rrd" should turn up another thread where I walked someone else through this.

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