another bug: system time change

Ondrej Zajicek santiago at crfreenet.org
Fri Apr 9 10:49:33 CEST 2010


On Fri, Apr 09, 2010 at 10:22:05AM +0200, Wolfgang Hennerbichler wrote:
> Hi Ondrejs, 
> 
> I think I found another bug. For some mysterious reason our system time jumped forward (more than 30.000 seconds) on one of our route-servers. I don't know why this happened, but I suspect a broken ntp server could have caused this. Nevetheless, this was reason enough for BIRD to drop the BGP peerings: 
> 

> You see the log-entries from the wtachdog, which is run every minute,
> all of a sudden the time jumps to 10:08 UTC, and BIRD brings down BGP
> sessions. Are the session hold timers dependent on the system time? 

That is really strange. On Linux 2.6, we use monotonic timers, which
shouldn't be affected by system time change. If monotonic timers are not
available (on Linux 2.4), we use system time but we detect time jumps
and ignore them.

-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20100409/7d26b7c9/attachment-0001.asc>


More information about the Bird-users mailing list