Hi all,
I was debugging the root cause of getting a long list of rrdcached log errors.
like the on below. ( Illegal attempt to update in less than 1 sec. step).
[err] collectd[3565]: rrdcached plugin: rrdc_update
(/usr/var/.../df-root/df_complex-free.rrd, [1386607176:21342183424.000000], 1)
failed with status -1.
The rrdcached is configured to update every 10 seconds, but when running
scripts consuming memory, and cpu usage, I can see single update for some RRDs
happening very frequent, causing long list of error logs.
I added debug codes to display update time, once I ran the scripts, I see the
updates occur much faster for some of the RRDs. I am listing son below.
rrdupdate to /usr/var/lib/collectd/rrd/localhost/cpu-7/cpu-idle.rrd at
1398215341 sec, 387199 usec
rrdupdate to /usr/var/lib/collectd/rrd/localhost/cpu-7/cpu-idle.rrd at
1398215351 sec, 387208 usec
rrdupdate to /usr/var/lib/collectd/rrd/localhost/cpu-7/cpu-idle.rrd at
1398215351 sec, 395156 usec
rrdcached plugin: rrdc_update
(/usr/var/lib/collectd/rrd/localhost/cpu-7/cpu-idle.rrd, [1398215351:36382], 1)
failed with status -1.
rrdupdate to /usr/var/lib/collectd/rrd/localhost/cpu-7/cpu-idle.rrd at
1398215362 sec, 958488 usec
rrdupdate to /usr/var/lib/collectd/rrd/localhost/cpu-7/cpu-idle.rrd at
1398215371 sec, 393588 usec
rrdupdate to /usr/var/lib/collectd/rrd/localhost/cpu-7/cpu-steal.rrd at
1398215341 sec, 387544 usec
rrdupdate to /usr/var/lib/collectd/rrd/localhost/cpu-7/cpu-steal.rrd at
1398215351 sec, 387590 usec
rrdupdate to /usr/var/lib/collectd/rrd/localhost/cpu-7/cpu-steal.rrd at
1398215351 sec, 488583 usec
rrdcached plugin: rrdc_update
(/usr/var/lib/collectd/rrd/localhost/cpu-7/cpu-steal.rrd, [1398215351:0], 1)
failed with status -1.
rrdupdate to /usr/var/lib/collectd/rrd/localhost/cpu-7/cpu-steal.rrd at
1398215362 sec, 958920 usec
rrdupdate to /usr/var/lib/collectd/rrd/localhost/cpu-7/cpu-steal.rrd at
1398215371 sec, 393950 usec
Have this issue been addressed, and if not, which part of the code could be
causing it.
Thanks.
_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users