LinHES Forums http://forums.linhes.org/ |
|
what would cause the update time from ls -lt to not change? http://forums.linhes.org/viewtopic.php?f=5&t=18953 |
Page 1 of 1 |
Author: | graysky [ Mon Sep 15, 2008 3:26 pm ] |
Post subject: | what would cause the update time from ls -lt to not change? |
If I do a ls -lt on a dir on my /myth partition, the files inside do not show the correct update time, rather, they should their creation time. Is there some option in my /etc/fstab for /dev/hda3 that would cause this? Example, I have a script that runs every 5 min and updates some .rrd files. I know data is getting written to the files because my graphs are changing accordingly. When I do the ls -lt in the dir that contains the rrd database files, the update time is not correct: Code: ls -lt /myth/rrd_db
total 1596 -rw-r--r-- 1 www-data www-data 71584 Sep 15 16:37 average_hi.rrd -rw-r--r-- 1 www-data www-data 71584 Sep 15 16:37 average_lo.rrd -rw-r--r-- 1 www-data www-data 71584 Sep 15 16:37 dew.rrd -rw-r--r-- 1 www-data www-data 71584 Sep 15 16:37 felt.rrd -rw-r--r-- 1 www-data www-data 71584 Sep 15 16:37 hi.rrd The last time the db's got updated was 17:25 yet I still see 16:37. Thoughts? |
Author: | tjc [ Mon Sep 15, 2008 5:19 pm ] |
Post subject: | |
Two different sets of files? A bad shell alias for ls? ... |
Author: | graysky [ Mon Sep 15, 2008 5:46 pm ] |
Post subject: | |
tjc wrote: Two different sets of files? A bad shell alias for ls? ...
I figured it out - it's the newer version of rrdtool. I compiled 1.3.3 from source and it doesn't seem to update the TDS. Neither does the unstable version from apt-get... thoughts? |
Author: | tjc [ Mon Sep 15, 2008 8:33 pm ] |
Post subject: | |
Is it not closing the files? Memory says that the date/time may not get updated until the file is closed... |
Author: | alien [ Tue Sep 16, 2008 1:26 am ] |
Post subject: | |
With my install of R5.5, the logs are in /myth/rrd/log/. The config is in /etc/rrd.config and this specifies where the db data is stored. |
Author: | graysky [ Tue Sep 16, 2008 1:46 am ] |
Post subject: | |
tjc wrote: Is it not closing the files? Memory says that the date/time may not get updated until the file is closed...
I don't think so, tjc, because if I umount /myth it goes down fine (no busy message). |
Author: | tjc [ Tue Sep 16, 2008 6:46 am ] |
Post subject: | |
Sounds like you'll have to go spelunking through the rrd code then. |
Author: | graysky [ Tue Sep 16, 2008 1:08 pm ] |
Post subject: | |
tjc wrote: Sounds like you'll have to go spelunking through the rrd code then.
Kernel bug? |
Author: | tjc [ Tue Sep 16, 2008 6:05 pm ] |
Post subject: | |
Well, memory mapped I/O is strange territory, it takes funky paths through the guts of the systems page management and disk i/o subsystems, so it's not surprising that it misses certain standard file system housekeeping way points... Since the older version of rrd used for the system monitoring pages works, using memory mapped i/o must be a recent change for rrd... |
Author: | mjl [ Tue Sep 16, 2008 8:31 pm ] |
Post subject: | |
Hi, Wasn't there a command or damon that ran to do the time stamp monitoring that was turned off to add some performance? I remember reading a discustion on it a little while back but not sure where or even if it is the same animal. Just a thought Mike |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |