1

Is there any way to tell how often Chrony is querying NTP servers?

If the answer is that it uses some algorithm based on how much the server has been out of sync in the past, is there some documentation on how that algorithm works?

Is there a way to set a minimum time frame for the query frequency?

0

To check how many seconds has passed since last sync:

$ chronyc sources

Look the column 'LastRx'

To set a minimum time frame to sync, use the 'minpoll' option in the /etc/chrony.conf file.

server 0.centos.pool.ntp.org minpoll 10
  • I believe you actually want maxpoll. minpoll is the shortest amount of time allowed between polls; whereas, maxpoll is the longest amount of time possible. You'd want a smaller maxpoll to check the servers more often. From access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/… - "Setting a shorter maxpoll may improve clock accuracy." – abegosum Jul 18 '17 at 18:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.