[rrd-developers] Ubuntu Lenny: rrd does not update the ctime and mtime of rrd-files

Gilles Espinasse g.esp at free.fr
Mon Sep 27 17:53:36 CEST 2010


Selon Kristoff Bonne <kristoff.bonne at skypro.be>:

> Hi Tobias,
>
>
>
> Op 27-09-10 16:18, Tobias Oetiker schreef:
> >> Now, we have a very strange fenomina:
> >> mrtg does update the rrd-files as normal, but does not update the ctime
> >> and mtime of the files.
> > the reason for this behaviour is that rrtool uses memory mapped io
> > for updating files ... some older linux kernels neglect to update
> > the timesamps of the files thus edited ..
> (...)
> > the simplest solution is to compile rrdtool on the target machine,
> > it will then detect the problem and work around it ...
>
> Thanks!
>
>
> Question,
>
> Is there then still a reason to use the rrdtool 1.4.3-1.bpo50+1 (from
> the debian backports repository) or is the default packages for Lenny
> (1.3.1-4) good enough?
>
> Cheerio!
> Kr. Bonne.
>
If I remember well the feature limit is on 2.6.27 kernel and lenny is 2.6.26
(unless that feature was backported).

If target machine is different from the compilation machine, you may cheat using
before configure

- when target is 2.6.27 or more recent
echo "rd_cv_ms_async=ok" > config.cache

- or when the target is older than 2.6.27
echo "rd_cv_ms_async=no" > config.cache

Gilles



More information about the rrd-developers mailing list