[chrony-users] Questions about "holdover" state

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


Hello,
I am trying to better understand how chronyd behaves when all reference sources become unavailable, specifically regarding holdover behavior.
By holdover I mean the situation in which the host was synchronized to one or more NTP sources, and then loses connectivity to all reference servers, continuing to discipline or free-run the clock based on its last known state.
I have two related questions:
    • Is there a specific flag, status field, or command output that indicates “synchronized but no reachable sources”?
    • Should this be inferred indirectly (e.g., from source reachability, Leap status, or Reference ID)?
    • Is this based on a maximum estimated error, time since last valid measurement, root dispersion growth, or another threshold?
    • Are there configuration parameters that influence this decision (e.g., limits on acceptable uncertainty or timeout values)?
In short, I would like to understand:
  • How to reliably detect that chronyd is in holdover, and
  • What criteria chronyd uses to decide that the clock is no longer considered synchronized once all reference sources remain unavailable for some time.
Any clarification or pointers to relevant documentation or source code would be greatly appreciated.
Thank you!



Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Si no es vd. el destinatario indicado, queda notificado que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente.
Evite imprimir este mensaje si no es estrictamente necesario.

This email and any file attached to it (when applicable) contain(s) confidential information that is exclusively addressed to its recipient(s). If you are not the indicated recipient, you are informed that reading, using, disseminating and/or copying it without authorisation is forbidden in accordance with the legislation in effect. If you have received this email by mistake, please immediately notify the sender of the situation by resending it to their email address.
Avoid printing this message if it is not absolutely necessary.


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