RRD errors on upgrade
-
NG2100 running 23.05 (latest built on Mon May 15 22:17:58 UTC 2023).
I've noticed some rrd errors with some of the recent 23.05-RC updates. Along the lines of:
May 16 06:00:46 php-fpm[415]: /rc.newwanip: The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/wan-traffic.rrd N:U:U:U:U:U:U:U:U' returned exit code '1', the output was 'ERROR: /var/db/rrd/wan-traffic.rrd: illegal attempt to update using time 1684213246 when last update time is 1684215726 (minimum one second step)'
Not sure why there's an error in the times on reboot. It sorts itself out after an hour or so, as shown on the graph below which demonstrates two monitoring 'down times' of about an hour following updates.
-
@bigsy I also noticed another RRD error in the log, impact unknown:
May 16 09:34:54 php-cgi 450 rc.bootup: The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/system-sensors.rrd N:U:U:U:U:U:U:U:U:U' returned exit code '1', the output was 'ERROR: /var/db/rrd/system-sensors.rrd: found extra data on update argument: U'
-
@bigsy said in RRD errors on upgrade:
May 16 06:00:46 php-fpm[415]: /rc.newwanip: The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/wan-traffic.rrd N:U:U:U:U:U:U:U:U' returned exit code '1', the output was 'ERROR: /var/db/rrd/wan-traffic.rrd: illegal attempt to update using time 1684213246 when last update time is 1684215726 (minimum one second step)'
Not sure why there's an error in the times on reboot. It sorts itself out after an hour or so, as shown on the graph below which demonstrates two monitoring 'down times' of about an hour following updates.
Your clock rolled backwards during the reboot so it isn't allowing you to insert 'old' data. Make sure your BIOS time and system time agree, it may be getting skewed somehow.
@pst said in RRD errors on upgrade:
@bigsy I also noticed another RRD error in the log, impact unknown:
May 16 09:34:54 php-cgi 450 rc.bootup: The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/system-sensors.rrd N:U:U:U:U:U:U:U:U:U' returned exit code '1', the output was 'ERROR: /var/db/rrd/system-sensors.rrd: found extra data on update argument: U'
Your system may have more data sources for temperature now than it had in the past. You may need to reset your graphing data (or just delete
/var/db/rrd/system-sensors.rrd
) and then either disable/enable graphing or reboot so it can rebuild that file with the correct number of sources. -
@jimp Thanks for the reply.
This is on a 2100, so no BIOS that I'm aware of. I'll delete the file as you suggest before the next RC or final release.