[ntp:questions] ntpd stays synced after loosing gps

Miroslav Lichvar mlichvar at redhat.com
Wed May 11 13:16:08 UTC 2011


On Wed, May 11, 2011 at 05:48:21PM +0600, Nickolay Orekhov wrote:
> Just one more question :-)
> After loosing sync, server should lower it's stratum so other servers can't
> synchronize with it, but:
> 
> ntpq> pe
>      remote           refid      st t when poll reach   delay   offset
>  jitter
> ==============================================================================
>  PPS(0)          .PPSE.           0 l  153    8    0    0.000    5.051
> 0.000
>  GENERIC(0)      .TSIP.           0 l  158    8    0    0.000   -6.027
> 0.000
> 
> ntpq> rv
> associd=0 status=0028 leap_none, sync_unspec, 2 events, no_sys_peer,
> version="ntpd 4.2.7p164 at 1.2483 Wed May 11 07:27:34 UTC 2011 (1)",
> processor="UNKNOWN", system="QNX/6.5.0", leap=00, stratum=1,
> precision=-10, rootdelay=0.000, rootdisp=9.456, refid=PPSE,

That has changed with ntp version 4, it doesn't increase stratum and
change leap to unsync, it will keep increasing the root dispersion
instead. When the distance reacheas a certain limit, the clients will
switch to another source.

-- 
Miroslav Lichvar



More information about the questions mailing list