iSecret
V2EX  ›  问与答

CentOS7 时间越走越慢的问题

  •  
  •   iSecret · Aug 9, 2018 · 1841 views
    This topic created in 2861 days ago, the information mentioned may be changed or developed.

    Hi,各位。在开发的时候发现开发环境的时间会越走越慢,和网络时间的偏差值越来越大。 环境是由:Windows 7 上的 VM Box 开的虚拟机,已经安装了增加功能。 使用 ntpdate 命令同步后,一分钟内就会出现大概 10s 的偏差,刚同步后,使用 shell 脚本,每 1s 循环打印 date,发现与网络时间会逐渐的产生偏差,有解决过这个问题的朋友吗?十分感谢。

    1 replies    2018-08-10 11:57:18 +08:00
    julyclyde
        1
    julyclyde  
       Aug 10, 2018
    虚拟机本来就不准,没必要纠结这个
    用 ntpd 保持一下就可以了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5159 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 09:26 · PVG 17:26 · LAX 02:26 · JFK 05:26
    ♥ Do have faith in what you're doing.