时区, ntp都试过了, 无论我怎么纠正时间, 一两天后又会出现误差
我应该如何排查这个问题的原因?
检查是否是虚拟机
在虚拟机里
cat /proc/sys/xen/independent_wallclock
0 means that the virtual machine is getting time from the host and not using independent wallclock.
1 means that the virtual machine is using independent wallclock and managing its time independent from the host
如果是虚拟机则可以通过修正host的时间或者打开时间独立
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。