[chrony-dev] chronyd not recovering after time stepped. |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-dev] chronyd not recovering after time stepped.
- From: Bryan Christianson <bryan@xxxxxxxxxxxxx>
- Date: Thu, 27 Aug 2015 22:20:45 +1200
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a0-2; h=Feedback-ID:X-Smtpcorp-Track:To:Date:Message-Id: Subject:From; bh=CBeeLgIyAj4m4wcD1FABKEtSmIBAd12/f9uBfDUDCD8=; b=uE7it6RczdK8 X4uW3a0lRYegqBVLtPwAhVWVHRMtt/v0MJCtZAu0UyWZnfnyaUTjsl19yg9+TcrN0vLkDTF8PMbEC meT2rjl+JT+0DnEX2tuf3YkNAZkoxYTGoy/sNHMj8BxPvgeACYwYO/OkXJRnLCuBRvcx2myp+v43A U90c09qV8hroDXQR2MFdYfPV9MQJW2xf0B7jftFFevMXm9s1NKoj4J7DTaIUjQej+lvrAvVsvmQe2 Fjc8BkGx2MQQBYPxSk5qNbT5urAiH6QNTF491j0id3/XQ+LofDwGzus0o7WaGZFxaESz/ky+2H05G AhWJQwDL6nHpcuubBdNvIw==;
- Feedback-id: 149811m:149811acx33YQ:149811s_KaHnbYau:SMTPCORP
I had a problem with my principal NTP server the other day (different issue) but the result was a large jump in the offset on my Mac. This offset started to recover and then remained at around 70ms.
I can reproduce the problem by stepping the local clock while chronyd is running, using a small program that uses settimeofday() to advance the local clock.
For example:
I allow chronyd to run until fully in sync with NTP with sub 10usec offset
Step the local clock forward by 1500ms
chronyd reports an unexpected offset in the message log
chronyd[57399]: System clock wrong by -0.754267 seconds, adjustment started
chronyd starts correcting the offset and overshoots from -1000ms to around +70ms (as reported in tracking.log)
On close inspection, I can that the offset is dropping, but very, very slowly from 70ms to 50ms in an hour, i.e at about 5ppm. Maybe it will recover in a few hours?
Restarting chronyd clears the offset rapidly.
Is this normal behaviour?
I'm really not sure whats going on here and, if it is a problem, where I should be looking to debug it.
Regards
Bryan
--
Bryan Christianson
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.