Comment 1 for bug 2003839

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

It does not always show up (makes bisecting hard :-/)

Bad case:
Jan 25 06:45:55 j collectd[31381]: Exiting normally.
Jan 25 06:45:55 j systemd[1]: Stopping Statistics collection and monitoring daemon...
Jan 25 06:45:55 j collectd[31381]: collectd: Stopping 5 read threads.
Jan 25 06:45:55 j collectd[31381]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/j.lxd/disk-nvme0n1p5/disk_io_time.rrd) failed: /var/lib/collectd/rrd/j.lxd/disk-nvme0n1p5/disk_io_time.rrd: illegal attempt to update using time 1674629134 when last update time is 1674629143 (minimum one second step)
Jan 25 06:45:55 j collectd[31381]: collectd: Stopping 5 write threads.
Jan 25 06:45:55 j collectd[31381]: rrdtool plugin: Shutting down the queue thread. This may take a while.
Jan 25 06:45:55 j collectd[31381]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/j.lxd/disk-loop8/disk_time.rrd) failed: /var/lib/collectd/rrd/j.lxd/disk-loop8/disk_time.rrd: illegal attempt to update using time 1674629134 when last update time is 1674629143 (minimum one second step)

Same config/szenario - good case:
Jan 25 06:51:14 j collectd[31447]: Exiting normally.
Jan 25 06:51:14 j systemd[1]: Stopping Statistics collection and monitoring daemon...
Jan 25 06:51:14 j collectd[31447]: collectd: Stopping 5 read threads.
Jan 25 06:51:14 j collectd[31447]: collectd: Stopping 5 write threads.
Jan 25 06:51:14 j collectd[31447]: rrdtool plugin: Shutting down the queue thread. This may take a while.
Jan 25 06:51:14 j collectd[31447]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/j.lxd/battery-0/capacity.rrd) failed: opening '/var/lib/collectd/rrd/j.lxd/battery-0/capacity.rrd': No such file or directory

Since this is related to caching and write threads, maybe this is about some info being in memory or those threads - which races on a restart with other content like the removed files on disk or the flushing.

Waiting for others to chime in...