Re: [chrony-users] Tracking lost but server selected

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


> > > It would probably help if we could see debug output from the time when
> > > the sources cannot be selected.
> > 
> > Ok, got it :)
> > 
> > There seems to be a 1 to 1 correlation with the "Fallback drift 13"
> > 
> > activation, which is the value i selected in the config file:
> > 	fallbackdrift 13 19
> 
> Ok, I think chronyd switching to a fallback drift when no update of
> the clock was made in 2^13 seconds explains the unsynchronized status
> (0.0.0.0 entries in the tracking log). That's actually how it was
> designed to work. I think it could be improved to keep the current
> reference and adjust the dispersion rate to allow it to operate as an
> NTP server and make the tracking report useful.

Ok. I'm misinterpreting the fallbackdrift documentation then (or it is perhaps 
a bit misleading), since it says: "They (drifts) are used when the clock is no 
longer synchronised ...".  From what i understand 
   "synchronized" == "a reference is set"
so the fallback drift causes the reference to be lost, and not the other way 
around.

I would like to make sure that a reference source stays selected even if the 
network is offline, at least until chrony estimates the clock may get way too 
off (eg, greater than 1s):  i  poll chrony with 
	"chronyc waitsync 1 1 500"
every 5 minutes to make sure it is still sync'ed, and trigger a network 
connection if not.

Shall i simply remove the fallbackdrift setting in that case?

> The "Can't synchronise: no selectable sources" messages seem to
> correspond to chronyc offline commands. Maybe you have a networking
> script running automatically when an interface is brought up/down?

yes, exactly, although i tried to ensure the 3G modem stays connected all the 
time. Probably now i can't recover a log of that anymore, but i could retest 
if interesting for you.

Thanks a lot for your support!


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