centos - 时间无法同步时 chronyd 的行为
问题描述
当 chronyd 从时间同步到名称从池中解析的服务器的状态变为与服务器失去通信的状态时,它是如何工作的?
CentOS 7
# chronyd -v
chronyd (chrony) version 1.29.1
# grep server /etc/chrony.conf
# Use public servers from the pool.ntp.org project.
server 0.amazon.pool.ntp.org iburst
server 1.amazon.pool.ntp.org iburst
server 2.amazon.pool.ntp.org iburst
server 3.amazon.pool.ntp.org iburst
# Serve time even if not synchronized to any NTP server.
时间不同步
# chronyc sources
210 Number of sources = 4
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^? 45.76.218.213.vultr.com 2 10 0 518d -6679us[-6905us] +/- 40ms
^? v150-95-148-140.a08d.g.ty 2 10 0 745d -105.4s[ +315us] +/- 47ms
^? 45.76.98.188.vultr.com 3 10 0 564d +1031ms[ -242us] +/- 209ms
^? 153-128-30-125.compute.jp 2 10 0 748d -108.1s[-2427us] +/- 37ms
解决方案
推荐阅读
- php - osCommerce 配置问题
- typescript - 为什么搜索带有某个子文档的文档时得到 0 个结果?(mongodb & 猫鼬)
- regex - sed - get only text in between without spaces
- reactjs - 如何使用反应路由器dom嵌套路由
- batch-file - 计算 JKS 文件中别名的总数,并使用 bat 文件中的 keytool 命令检查是否还存在特定别名
- flutter - FileSystemException:无法检索文件的长度,路径 = '
- azure - 如何使用 Spring Boot 应用程序从 azure key vault 获取或检索密钥/秘密
- java - 使用 Spring Authorization Server 自定义 authenticationProvider
- javascript - Javascript 查询选择器字符串与预期的模式不匹配
- java - 保存时 VS 代码编辑 Java