Time falling out of sync

X

xulfer

Guest
The time in my guests seem to be off quite frequently. This has happened in both KVM, and OpenVZ guests. The host time remains accurate. The guests are supposed to get their time from the host as far as I know so I have know idea how to even correct this issue. Migrating seems to fix the problem, but I'd like to figure out a way to fix it without spending hours migrating.

Restarting the guests, and even rebooting the host node doesn't seem to work either.
 
There is a known issue with some KVM based Windows Guests. I was able to resolve it with a simple change to the confoiguration file for the virtual.

- Make sure you are on the latest rev of Proxmox (1.3), which has KVM-86.
- In the web browser console for Proxmox, make a note of the KVM guest's VMID
- open a console (or SSH to) the Proxmox host
- edit the file /etc/qemu-server/<VMID>.conf where <VMID> is the VMID of the guest for example, nano /etc/qemu-server/103.conf

add the following line to the bottom:

args: -rtc-td-hack


This fix has worked wonders on all our Windows systems. We were expierencing clock-sync issues where the guest would slowly fall behind (a few seconds per minute). This also seemed to affect performance, as our Windows systems are much more responsive now. This was particularly effective on SMP (4 Proc) 64 bit systems.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!