Hi Shithal, this is a linux kernel bug (?) where it stopped updatein the file timestamp if files are accessed using memory mapped io ... the same happens to the database files of samba btw ...
we could work around this by explicitly touching the file after an update ... opinnions ? cheers tobi Today Shithal TK wrote: > Hello Tobi, > > With the new rrdtool 1.3.1 or 1.3.0 on RHEL5.1 the timestamp of rrd files > are not getting updated though the values are getting updated in rrd file: > ------------------------------------------------------- > Here is an output: > > date: Thu Aug 14 02:56:28 EDT 2008 > > timestamp on rrd when it is created (hecked using ls -l) > > -rw-r--r-- 1 root root 1064 Aug 14 02:56 test.rrd > > > after updating the rrd file at Thu Aug 14 02:59:05 EDT 2008 > > rrdtool update test.rrd 1218697140:12345 > > -rw-r--r-- 1 root root 1064 Aug 14 02:56 test.rrd > > when we dump it into xml and view that xml file it gives <lastupdate> > 1218697140 </lastupdate> <!-- 2008-08-14 02:59:00 EDT --> > > But the timestamp is still Aug 14 02:56 test.rrd > > ---------------------------------------------------------- > > On the same system when rrdtool-1.2.19 is used I could see the timestamps on > rrd files getiing changed. > > Any reason for what has changed in 1.3.0/1.3.1 that timestamp of the rrd > file is not getting updated? > > Thanks, > Shithal. > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch [EMAIL PROTECTED] ++41 62 775 9902 / sb: -9900 _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users