Why after spike detect, most of the time ntp write 'no_sys_peer'?

环境

  • Red Hat Enterprise Linux 6
  • ntp

问题

  • After 'spike_detect' and 'clock step' ntpd writes 'no_sys_peer'. What is the reason and why it write such message?

Raw

May  6 14:18:19 example.com ntpd[34933]: 0.0.0.0 0613 03 spike_detect -35.000067 s
May  6 14:22:25 example.com ntpd[34933]: 0.0.0.0 0618 08 no_sys_peer
May  6 14:30:38 example.com ntpd[34933]: 0.0.0.0 061c 0c clock_step -35.000340 s
May  6 14:30:38 example.com ntpd[34933]: 0.0.0.0 0615 05 clock_sync
May  6 14:30:39 example.com ntpd[34933]: 0.0.0.0 c618 08 no_sys_peer

决议

  • When ntpd noticed the change in the clock, it step the clock, while stepping ntp resets almost everything i.e server trust etc.... The message is logged when the source selection doesn't have any selectable source (as ntp lose trust). After the clock step, ntp collects new samples for all sources, trust them again and reselect them.

 

time reset : The time error exceeds the step threshold and has been reset to the correct time.
no_sys_peer : Indicates that there is no server that satisfies ntpd’s stability criteria.
spike_detect : This is informational in that a difference between the local clock and the valid servers was temporarily greater than the 128ms max offset.
clock_step : Normally modifies the local system clock frequency to adjust for differences between it and the valid servers. If the offset is greater than 128ms, then unless configured otherwise, will step the system clock.

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值