[ntp:questions] ntpd losing sync

Dave Hart hart at ntp.org
Mon Feb 6 08:26:50 UTC 2012


I get very little out of your logs below.  First, the log file uses
local time in hours:min:sec while the stats files use UTC in seconds
of the day form.  I would need to know your configured local time zone
and use a calculator to correlate them.

Please consider running ntpd on another machine independently sourcing
the time (from the same GPS via splitter, or another GPS, or from the
net, but not from the IPX).  If you then reference the independent
ntpd from the IPX using noselect, it might become clear to you if the
IPX's clock is going haywire, or the PPS signal/PPSAPI
layer/refclock_atom.c combination is the trouble.

Good luck,
Dave Hart

On Mon, Feb 6, 2012 at 06:10, A C <agcarver+ntp at acarver.net> wrote:
> I just observed a single event occur while monitoring peers, loops and the
> log file.  I'm waiting to see if it recovers but the single event has caused
> ntpd to oscillate wildly.  All afternoon the clock was actually very stable.
>  Then in two cycles there was a major upset that caused the PPS offset to
> run off.  You can see it in the peers.  It's still going on as I type this
> with spike_detects coming every minute or so in the log file.
>
> If it doesn't recover on its own I'll restart with the new statistics turned
> on.
>
> According to the log file:
>
> 5 Feb 07:50:32 ntpd[4538]: 199.4.29.166 8014 84 reachable
> 5 Feb 08:25:34 ntpd[4538]: PPS(0) 914a 8a sys_peer
> 6 Feb 05:56:55 ntpd[4538]: 0.0.0.0 0113 03 spike_detect -0.142499 s
> 6 Feb 05:59:35 ntpd[4538]: 0.0.0.0 0115 05 clock_sync
> 6 Feb 06:00:39 ntpd[4538]: 0.0.0.0 0113 03 spike_detect -0.242543 s
>
> Then peers:
>
> 55963 21174.982 127.127.28.0 937a -0.036527778 0.000000000 0.002060405
> 0.012926837
> 55963 21190.981 127.127.22.0 974a 0.000005336 0.000000000 0.000523922
> 0.000061035
> 55963 21222.982 127.127.22.0 974a 0.000003197 0.000000000 0.000523922
> 0.000061035
> 55963 21254.983 127.127.22.0 974a 0.000004286 0.000000000 0.000523922
> 0.000061035
> 55963 21287.090 127.127.22.0 974a 0.000005560 0.000000000 0.000523922
> 0.000061035
> 55963 21303.076 127.127.28.0 937a -0.019713861 0.000000000 0.002110174
> 0.011155165
> 55963 21318.983 127.127.22.0 974a -0.000008341 0.000000000 0.000523922
> 0.000061035
> 55963 21350.985 127.127.22.0 974a -0.000004278 0.000000000 0.000523922
> 0.000061035
> 55963 21384.000 127.127.22.0 974a -0.001758997 0.000000000 0.001542449
> 0.001758229
> 55963 21416.000 127.127.22.0 974a -0.142499126 0.000000000 0.003439354
> 0.142249996
> 55963 21432.000 127.127.28.0 937a -0.168592361 0.000000000 0.004960079
> 0.141854415
> 55963 21448.000 127.127.22.0 974a -0.292503723 0.000000000 0.004388269
> 0.276412286
> 55963 21480.000 127.127.22.0 974a -0.442512698 0.000000000 0.004862297
> 0.394614125
> 55963 21512.000 127.127.22.0 974a 0.372477306 0.000000000 0.005099591
> 0.524797280
> 55963 21544.000 127.127.22.0 974a 0.212477028 0.000000000 0.005217774
> 0.372601026
> 55963 21560.000 127.127.28.0 937a -0.876175806 0.000000000 0.006281705
> 0.828569130
> 55963 21576.000 127.127.22.0 974a 0.064972383 0.000000000 0.005273983
> 0.281162546
> 55963 21608.000 127.127.22.0 974a -0.085036439 0.000000000 0.005301131
> 0.267636422
> 55963 21640.000 127.127.22.0 974a -0.242543129 0.000000000 0.005314721
> 0.328885633
> 55963 21672.000 127.127.22.0 974a -0.417550277 0.000000000 0.005316239
> 0.449024152
> 55963 21688.000 127.127.28.0 937a -1.438793917 0.000000000 0.006622632
> 1.301765314
> 55963 21704.000 127.127.22.0 974a 0.417441425 0.000000000 0.005316787
> 0.572346355
>
> And loops:
>
> 55963 20583.108 -0.000004030 -77.476 0.000023538 0.018362 5
> 55963 20615.120 -0.000011522 -77.476 0.000034580 0.017176 5
> 55963 20647.067 -0.000019403 -77.476 0.000022564 0.016067 5
> 55963 20679.135 -0.000016818 -77.476 0.000027012 0.015029 5
> 55963 20711.117 -0.000013483 -77.476 0.000019619 0.014058 5
> 55963 20743.048 -0.000014919 -77.476 0.000013916 0.013150 5
> 55963 20775.113 -0.000008527 -77.476 0.000017337 0.012301 5
> 55963 20807.112 -0.000011718 -77.530 0.000012284 0.022500 5
> 55963 20839.060 -0.000004594 -77.530 0.000013441 0.021047 5
> 55963 20871.097 -0.000012778 -77.530 0.000011339 0.019687 5
> 55963 20903.096 -0.000016090 -77.530 0.000021048 0.018416 5
> 55963 20935.034 0.000003993 -77.530 0.000015891 0.017226 5
> 55963 20967.106 -0.000011338 -77.530 0.000015260 0.016114 5
> 55963 20999.101 0.000005648 -77.530 0.000016931 0.015073 5
> 55963 21031.061 -0.000001776 -77.530 0.000015476 0.014100 5
> 55963 21063.099 0.000007183 -77.519 0.000014616 0.013824 5
> 55963 21095.096 -0.000006261 -77.519 0.000017900 0.012932 5
> 55963 21127.091 -0.000008640 -77.519 0.000021572 0.012096 5
> 55963 21159.092 -0.000015364 -77.519 0.000012772 0.011315 5
> 55963 21191.091 -0.000011846 -77.519 0.000024291 0.010584 5
> 55963 21223.086 -0.000010005 -77.519 0.000029655 0.009901 5
> 55963 21255.077 -0.000014266 -77.519 0.000026303 0.009261 5
> 55963 21287.103 0.000005807 -77.519 0.000012665 0.008663 5
> 55963 21319.029 -0.000008613 -77.659 0.000012296 0.050375 5
> 55963 21351.084 0.000011018 -77.659 0.000275145 0.047121 5
> 55963 21385.000 -0.000009136 -77.659 0.000012402 0.044078 5
> 55963 21577.000 -0.000004309 -77.659 0.000012402 0.041231 5
> 55963 21609.000 -0.000003802 -77.659 0.000012402 0.038568 5
> 55963 21769.000 -0.000002032 -77.659 0.000012402 0.036077 5
> 55963 21801.000 -0.000001793 -77.659 0.000012402 0.033747 5
>
>
> _______________________________________________
> questions mailing list
> questions at lists.ntp.org
> http://lists.ntp.org/listinfo/questions


More information about the questions mailing list