On Wed, 16 Dec 2009 20:04:11 +0100
Florian Forster <o...@verplant.org> wrote:

> Hi Yuri,
> 
> thanks for the report.
> 
> On Wed, Dec 16, 2009 at 06:15:21PM +0100, Yuri D'Elia wrote:
> > - If I set "TranslateDevicename false", I get two DBs: the 8-3
> >   translated name *and* "/dev/sda". Both contain NaNs instead of
> > real values.
> 
> Are both files updated or do you get a second file that is updated
> instead of the first one?

After digging into the issue a little more, I discovered I had two
instances of collectd running, and the following was printed on syslog:

collectd[7545]: rrdtool plugin: rrd_update_r (file.rrd) failed:
file.rrd: illegal attempt to update using time 1260984557 when last
update time is 1260984559 (minimum one second step)

probably, the old instance was re-creating the old file every time.
Interestingly, I had to kill the old instance with -9.

After killing all the instances, cleaning /var/lib/collectd and
restarting collectd everything works as expected.

"TranslateDevicename false" also works as expected now.

I tried reloading/restarting collectd several times (just to ensure
that the process did not leave old instances running), and I can't
readily replicate the problem.

> Did you configure a non-standard ``Interval'' in the collectd
> configuration (usually /etc/collectd/collectd.conf)?

No, but I was reconfiguring several plugins and reloading collectd
several times. My guess is that one collectd instance got stuck and the
init script failed to kill it.

I can't seem to replicate it right now, so I guess you can close the
report.

Thanks.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to