Bug #345
closedmod_rrdtool fails when system date/time is changed
Description
I am running lighttpd 1.4.6, with mod_rrdtool.
I am running 2 copies of lighttpd on different ips, different config
files, both with rrdtool going to different databases. It was all
working fine, but then the database stopped updating. The last
modified time on both .rrd files was exactly 01:01. The size was the
same as well. I wasn't sure what the deal was, so I deleted the files
and restarted the lighttpd some time later. It happened again, and I
found the cause. this was the error. :
2005-10-24 01:01:00: (mod_rrdtool.c.410) rrdtool-response: update /var/log/lighty/site1.rrd N:0:0:0
ERROR: illegal attempt to update using time 1130115661 when last update time is
1130115661 (minimum one second step)
OK u:0.00 s:0.17 r:64099.64
I looked in my crontab, and at 01:01 every day I run the command
1 1 * * * root /usr/sbin/ntpdate clock.redhat.com >/dev/null 2>&1
So my server must be running a bit fast or something by at least a second every day.
Not sure if this is a problem with rrdtool or lighttpd's implimentation.. any ideas?
Version is 1.4.6 compiled from source on debian stable. Working fine otherwise.
Best Regards
Eaden McKee
P.s.
I tried posting this to the mailing list, but my email was blocked by the blacklist (
Delivery to the following recipient failed permanently:
lighttpd@lists.kneschke.de
Technical details of permanent failure:
PERM_FAILURE: SMTP Error (state 9): 554 Service unavailable; Client host 72.14.204.202 blocked using dnsbl.sorbs.net; Spam Received See: http://www.sorbs.net/lookup.shtml?72.14.204.202
which is qproxy.gmail.com
-- eadz
Also available in: Atom