[chrony-users] Strange "loss of PPS lock" |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: "chrony-users@xxxxxxxxxxxxxxxxxxxx" <chrony-users@xxxxxxxxxxxxxxxxxxxx>
- Subject: [chrony-users] Strange "loss of PPS lock"
- From: Rob Janssen <chrony-users@xxxxxxxxx>
- Date: Wed, 18 Jan 2023 14:14:26 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=pe1chl.nl; s=pe1chl; t=1674047668; bh=N55T3B4mPygqm7CcCtDSkQwXZzLNWLIvxqdejW30PpY=; h=Date:To:From:Subject:From; b=Fc4IRnLtavz9kTGBfLuG1D9mXqdVvbLyTXwA5FWdYrO3C69Lvlkp94we6ULuZgjsu 0aG1reBrR03oj3UXgjPu0b8k7LLsex6+RPG9l5Nw+Zolz3qSG1cP4HVxkRNYeKoSY9 OGyiZwhySrSA3OuxjnaK8kI6u+wcxeKI7T0Zi8xAdBfgvxYr+v5hGy4Zo9Oy5tktkI tIJgsC5UUcm0JLwCRn/zOSQbbXkSC/11aNbAdXJNGc0m+dG3ZcYGgJgBQCnuiDfuqN +BgTJL/3H2tfThlk0IViK1ZW/GIcnK5XQWbyhQf8eMrHEQVObFWAXVFZG6xlirrroZ JPGxBxuXtbHNw==
- Organization: PE1CHL
I have a couple of installs where a PC is synchronized to PPS.
The PPS signal is connected to DCD on a serial port and ldattach is used
to attach it to /dev/pps0. chrony.conf has:
refclock PPS /dev/pps0 refid PPS prefer
and a couple (3-4) external NTP servers as absolute time reference.
That normally works just fine. PPS source is marked with * and offset is
within 20us or so.
"but sometimes" it loses lock. The PPS source is marked with x and an NTP
server is selected and tracked. an hour later or so, the situation automatically
rectifies itself. I notice this because the installation is monitored using Nagios
and NTP stratum is one of the monitored parameters. It goes from 1 to 2.
What can be the cause of this? The jitter value displayed in chronyc sources
remains within 5-20us all the time. But the offset to PPS can go as high as 2ms
during this. It may be that the combined offsets of the NTP servers as seen by
chrony are closer to another than the PPS source is, but still I don't want them to
get selected as long as the PPS can be locked and tracked. In some locations
there even is a separate SHM source, derived from serial comms with the reference
to check if it is in sync, configured as "lock" (which itself is configured "noselect"),
but it still happens. That "lock" reference is in-lock at those times.
Only thing is that this is "an old version" (3.2 from Debian distro) version.
Is it a known problem that has been fixed after that?
Rob
--
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.