keepalive timer

Ondrej Zajicek santiago at crfreenet.org
Sat Nov 6 19:24:22 CET 2010


On Sat, Nov 06, 2010 at 03:54:22PM +0100, Joakim Tjernlund wrote:
> >
> > Just came across
> >
> >     Keepalive timer:  -22205673/60
> >
> > Weird, isn't it?
> 
> Does bird use gettimeofday() to drive its timers? If so it might
> be a time jump that caused that.

No, BIRD uses clock_gettime(CLOCK_MONOTONIC, ) if available, otherwise
it uses time() (which isn't monotonic, but it is used in Linux 2.4.x
(2.6.x has proper clock_gettime()) and there is a code around it that
eliminates backward time jumps).

I heard that some buggy virtualization software causes time jumps
of monotonic timers (in quest system), but that probably is not
Arnold Nipper's case.

There might be related messages in BIRD log:
"Monotonic timer is missing", "Monotonic timer is broken"

-- 
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/20101106/b55e1376/attachment-0001.asc>


More information about the Bird-users mailing list