ntpd strange problem
Wojciech Puchar
wojtek at puchar.net
Mon Oct 8 11:19:33 UTC 2018
>>
>> what else can i do?
>
> The original output you posted showed the time as unsynchronized when
> ntpd started up. That seems normal to me, it can't be synchronized
> until ntpd has been running for a while. In a followup message you
> seemed to say that it doesn't stay synchronized, but you haven't
> provided much info about that.
>
> What's in the logs when it become unsynchronized or when you notice the
> time is several seconds off?
after starting ntpd - it seems to be no different than upsteream time
server.
After week or so it got out of sync in spite of ntpd still running.
Strange but today (4 days after i restarted ntpd) it seems to be in sync
# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
LOCAL(0) .LOCL. 2 l 93h 64 0 0.000 0.000 0.000
*ntp.task.gda.pl 194.146.251.100 2 u 227 256 377 7.127 0.006 0.050
# ntpq -c rv
associd=0 status=0615 leap_none, sync_ntp, 1 event, clock_sync, version="ntpd 4.2.8p12-a (1)", processor="amd64",
system="FreeBSD/11.2-STABLE", leap=00, stratum=3, precision=-24, rootdelay=13.877, rootdisp=31.084, refid=153.19.250.123,
reftime=df65bb67.6caa4c22 Mon, Oct 8 2018 13:17:59.424, clock=df65bb79.e7c2ec64 Mon, Oct 8 2018 13:18:17.905, peer=60901, tc=9,
mintc=3, offset=0.065124, frequency=35.388, sys_jitter=0.000000, clk_jitter=0.044, clk_wander=0.001
my ntp.conf
rlimit memlock 512
server ntp.task.gda.pl iburst maxpoll 9
restrict ntp.task.gda.pl nomodify nopeer noquery notrap
restrict -4 default ignore
restrict -6 default ignore
restrict 127.0.0.1 nomodify nopeer notrap
restrict 10.0.0.0 mask 255.0.0.0 nomodify nopeer notrap
server 127.127.1.0
fudge 127.127.1.0 stratum 2
>
> What does the output of ntptime show when the time is drifted off?
>
> How about the output of "ntpq -p" and "ntpq -c rv"?
>
> What's in your ntp.conf?
>
> If you set sysctl kern.timecounter.stepwarnings=1, do you see any
> warnings about the clock stepping as time drifts out of sync?
>
> -- Ian
>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
>
More information about the freebsd-hackers
mailing list