Comment 33 for bug 1971093

Revision history for this message
Jussi Mäkinen (jmakinen) wrote :

Wait, a lot of this kind of messages in syslog (for every plugin for every 10+ seconds)

Jan 24 09:22:08 jammyjellyfish collectd[99041]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/jammyjellyfish/cpu-0/cpu-user.rrd) failed: /var/lib/collectd/rrd/jammyjellyfish/cpu-0/cpu-user.rrd: illegal attempt to update using time 1674544919 when last update time is 1674544926 (minimum one second step)

The configuration is the same as in our focal fossa machines.

Yes, I have:
System clock synchronized: yes
              NTP service: active

If I comment CacheTimeout on collectd.conf, no error messages then…
<Plugin rrdtool>
        DataDir "/var/lib/collectd/rrd"
        # Keep incoming data for x seconds in cache before writing it to disk
# CacheTimeout 10

        # Add some random to above value to avoid multiple files being written same time
        RandomTimeout 5

        # When no data is received write existing data in cache to disk after x seconds
        CacheFlush 900

        # Write only x rrd files per second.
        # At the time writing we have around 122 rrd files per server.
        WritesPerSecond 50
</Plugin>