Re: [chrony-users] Best way to force clock step at shutdown

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


On Tue, Jan 12, 2016 at 06:31:13PM +0100, Hector Oron wrote:
> chronyc> sources
> 210 Number of sources = 4
> MS Name/IP address         Stratum Poll Reach LastRx Last sample
> ===============================================================================
> ^? der.beste.tiger.ist.sidne     2   8     1    69  -72527m[-72527m] +/-   41ms
> ^? ns3.customer-resolver.net     2   8     1    74  -72527m[-72527m] +/-   42ms
> ^? net2.uni-paderborn.de         1   8     1    74  -72527m[-72527m] +/-   29ms
> ^? trabant.uid0.hu               4   8     1    74  -72527m[-72527m] +/-   19ms

Reach is 1, which means it has only one sample. It needs 3 samples
(reach 7) before it can update the clock and make a step. With the
chronyc sourcestats command you can see the number of samples directly
in the NP column.

> chronyc> tracking
> Reference ID    : 127.127.1.1 ()
> Stratum         : 10
> Ref time (UTC)  : Mon Nov 23 08:39:06 2015
> System time     : 0.000000000 seconds slow of NTP time
> Last offset     : +0.000000000 seconds
> RMS offset      : 0.000000000 seconds
> Frequency       : 0.930 ppm slow
> Residual freq   : +0.000 ppm
> Skew            : 0.000 ppm
> Root delay      : 0.000000 seconds
> Root dispersion : 0.000001 seconds
> Update interval : 0.0 seconds
> Leap status     : Not synchronised

The Leap status should be "Normal".

> If I wait >17 minutes for chronyd to collect measurements results and
> do a makestep, it does not seem to bring time to actual either.
> activity command reports sources are online.

Hm, with minpoll 8 (256 seconds) chronyd should have 3 samples per
source after about 9 minutes, so I'm not sure why 17 minutes is not
enough.

-- 
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.


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