Re: Ubuntu Lenny: rrd does not update the ctime and mtime of rrd-files
Tobias Oetiker <[email protected]>
| Newsgroups | gmane.comp.db.rrdtool.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Kristoff, Today Kristoff Bonne wrote: > 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 .. > > rrdtool tool checks for this problem at compilation time and > > compensates by doing touch on the problem files ... > > Hi, I've compiled the source from the debian repostitory. Try the official release from www.rrdtool.org ... it should compile out of the box ... cheers tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900