[chrony-users] chrony not demoting broken PPS source

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


Hi,

I have come across some slightly odd behaviour from chrony. We have a
GPS time source with PPS. The device is currently indoors so the PPS
is dropping in and out, but NMEA timestamps are still coming through.
For some reason, chrony is still trying to use the broken PPS source
even though it's not providing any data:

# chronyc sources
210 Number of sources = 6
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
#- NMEA                          0   4   377    11    -77ms[  -77ms] +/-  100ms
#* GPS                           0   4     0  101m  +2315ns[+3536ns] +/-  141ns
^- time.cloudflare.com           3   6   377   100  -1167us[-1167us] +/-   64ms
^- ntp1.unix-solutions.be        2   6   136   359    -62us[  -62us] +/-   53ms
^- ntp.devrandom.be              2   6   377   100   +352us[ +352us] +/-   24ms
^- ntp2.unix-solutions.be        2   6   324   24m   -150us[ -150us] +/-   30ms

After manually restarting the service it has switched back to the NMEA
data, which is what I expected:

# chronyc sources
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
#* NMEA                          0   4   377    13    -15ms[  -19ms] +/-  100ms
#? GPS                           0   4     0     -     +0ns[   +0ns] +/-    0ns
^? hl2dm.sameteem.com            3   6   121    53    +43ms[  +23ms] +/-   36ms
^+ lux.22pf.org                  3   6    37    61    +40ms[  +55ms] +/-   43ms
^? ntp1.unix-solutions.be        0   6     0     -     +0ns[   +0ns] +/-    0ns
^? 183.ip-51-89-151.eu           0   6     0     -     +0ns[   +0ns] +/-    0ns

Any thoughts on why this might be happening?

# chronyd --version
chronyd (chrony) version 3.4 (+CMDMON +NTP +REFCLOCK +RTC -PRIVDROP
-SCFILTER -SIGND +ASYNCDNS -SECHASH +IPV6 -DEBUG)

# cat /etc/chrony.conf
refclock SHM 0 offset 0.155 delay 0.2 refid NMEA
refclock PPS /dev/pps0 lock NMEA refid GPS
pool pool.ntp.org iburst maxpoll 6
makestep 1.0 -1
rtconutc
rtcsync
logdir /var/log/chrony
log measurements statistics tracking

Thanks,
Chris

-- 
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/