RE: [chrony-users] chrony switch source issue |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: "chrony-users@xxxxxxxxxxxxxxxxxxxx" <chrony-users@xxxxxxxxxxxxxxxxxxxx>
- Subject: RE: [chrony-users] chrony switch source issue
- From: "Bernstein, Amit" <amitbern@xxxxxxxxxx>
- Date: Mon, 2 Jan 2023 12:22:56 +0000
- Accept-language: en-US
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1672662187; x=1704198187; h=from:to:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version:subject; bh=WAV3c0f44wfrZpNaT8Nirmub+u84ereYOmfCauj4mOQ=; b=HlWdLlTN2OTqNG5uVRBV7FdmPAdR+15IEVB9qCjQyjCvF4S0hvtHbXfo lHcQ4BDHStou07HVBm+4lQ4DhXkiNC7G/57WyaI5Haj8JZyaf/j3Q/YiP MenbPL9ggN++/s+80H2eGJM6bw/y6qNlTgnofSkP9qk7ndPJ1EFypdoFw E=;
- Thread-index: AdkV+SQTDYQSHlMGQReSEN/7hxtWNwIl86cAAANccMA=
- Thread-topic: [chrony-users] chrony switch source issue
As both source timestamp (NTP and PHC) are very close to each other
And according to chrony faq: "It will let the clock run free for as long as its estimated error (in terms of root distance) based on previous measurements is smaller than the estimated error of the second source, and there is still an interval which contains some measurements from both sources."
Chrony should have replaced the source from PHC to NTP after no more than several msec, I have waited about an hour and still saw chrony getting stucked on PHC source.
-----Original Message-----
From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Sent: Monday, January 2, 2023 12:00
To: chrony-users@xxxxxxxxxxxxxxxxxxxx
Subject: RE: [EXTERNAL][chrony-users] chrony switch source issue
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.
On Thu, Dec 22, 2022 at 01:35:34PM +0000, Bernstein, Amit wrote:
> But in case PHC source returns a failed status (for example -EIO) Chrony will not switch the sources and will stay on PHC source for an infinite time
Is it really infinite, or just taking longer that you would expect?
https://chrony.tuxfamily.org/faq.html#_an_unreachable_source_is_selected
--
Miroslav Lichvar
--
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.
--
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.