Questions tagged [clock-synchronization]
58 questions
1
vote
1 answer
Prevent VM clock running faster than it should
I have a unRAID 6.6.5 server with perfectly correct time and multiple Linux VMs which used to be perfectly synced too. I rebooted one of my VM and suddenly the clock goes twice as fast as the hwclock. I can easily see that by doing these 2 loops in…
![](../../users/profiles/417302.webp)
dan
- 83
- 7
1
vote
0 answers
Preventing system clock from auto-updating in Windows Server 2012
I'm working on a project right now where as part of testing I have to move the system clock to far-off future dates. There are two servers involved in the project: an app server and a database server. I've stopped the Windows Time service on both…
![](../../users/profiles/347769.webp)
John Clifford
- 111
- 2
1
vote
1 answer
NTP synchronized clock alongside the system clock
Does NTP daemon(ntpd) provide some sort of virtual clock that it disciplines and serves, but not touch the system clock?
Goal:
On a realtime Linux OS, have a NTP synchronized clock alongside of the system clock, so that ntp time changes won't cause…
![](../../users/profiles/345970.webp)
Vikyboss
- 121
- 3
1
vote
0 answers
RTC/UTC was innacurate on MySQL (MariaDB) server. I fixed it - was that bad?
I'm pinch hitting as an admittedly green server admin. I installed a bunch of security patches on a MariaDB server that had an incorrectly configured repo (not by me) and wasn't getting patches for a while. After install and reboot, I noticed all…
![](../../users/profiles/245945.webp)
bendodge
- 144
- 9
1
vote
1 answer
Why is clock synchronization on servers difficult?
See: Clock synchronization quality on Windows Azure?
This is not meant as a rant, it is just curiosity.
Is a computer really drifting more than a second in a single day? I can barely imagine that.
Why not a sync every day to a time server. This…
![](../../users/profiles/123361.webp)
Dirk Boer
- 455
- 1
- 3
- 9
1
vote
5 answers
How do I synchronize clocks between Linux and Windows?
I am running some benchmarks between a Windows client and Linux server. In order to measure the latency correctly I need to synchronize the clocks between the two machines before starting the test - ideally down to the nearest millisecond - what's…
![](../../users/profiles/16600.webp)
Supertux
- 121
- 1
- 5
1
vote
2 answers
Cent OS 6 clock 3 minutes 35 seconds in the future
I run Cent os 6 64 bit on linode.
server (incorrect):
date
Thu Aug 29 11:41:00 BST 2013
client (correct):
date
Thu Aug 29 11:37:25 BST 2013
As you can see the server clock is in the future.
so far I have ensured the server is running…
![](../../users/profiles/148706.webp)
Code Review Doctor
- 133
- 5
1
vote
0 answers
Update clock on virtualbox virtual machine with cent os from host
I have a virtual machine, with cent os installed, and everytime I sleep the host computer, the clock of the VM goes out of sync. I would like it to pick up the current time from virtualbox - which I would expect it to do naturally.
How can I force…
![](../../users/profiles/90736.webp)
Billy Moon
- 1,417
- 3
- 17
- 23
1
vote
1 answer
How "real" is the POSIX clock in a virtual machine?
Introduction:
Time is OS like Linux is typically derived from a clock chip (RTC), or maintained by software using either periodic interrupts or some hardware registers (e.g. CPU's TSC cycle counter) for implementation.
Obviously in a virtual machine…
![](../../users/profiles/407952.webp)
U. Windl
- 286
- 2
- 13
1
vote
1 answer
Incorrect PTP timestamps
I have trouble syncing to Linux systems using PTP.
Setup:
Two PCBs with a BegleCore module and a DP83640 PHY are connected with each other over Ethernet. One board should act as the PTP master, the other as the slave.
Debian 10, Kernel:…
![](../../users/profiles/943559.webp)
11011100
- 11
- 3
1
vote
1 answer
How to Set Up Time Synchronization with NTP on Ubuntu 20.04.1 LTS
After updating the base system with the latest available packages:
apt-get update -y
and
root@localhost:~# timedatectl
Local time: Wed 2021-01-06 08:03:11 UTC
Universal time: Wed 2021-01-06 08:03:11 UTC
…
0
votes
1 answer
Problems with chronyd Centos 7 all updates applied
I have an email server running on top of CentOS7. This is a new server and has been in production for 2 days. It seems that chronyd is losing it's connection to the ntp servers that it contacts at pool.ntp.org. I have set up 0.pool through 3.pool in…
![](../../users/profiles/530222.webp)
tgz
- 3
- 1
0
votes
1 answer
How to have WSL think it is in the past?
I am developing PHP/Apache/MySQL based code on my Windows 10 laptop via Windows Subsytem For Linux.
I am working on some code that is time related. It has a mix of PHP date commands, and MySQL "NOW()" calls. I need to be able to work on this at any…
![](../../users/profiles/27958.webp)
Hippyjim
- 191
- 2
- 6
- 19
0
votes
1 answer
/sbin/hwclock --utc --systohc not working on AWS EC2 under Ubuntu
I'm in the process of moving some servers to AWS. One problem I'm encountering is that my script to synchronize the time using ntpdate and then write that time to the hwclock is failing. When the server reboots, I'd like the time to be close to…
![](../../users/profiles/157158.webp)
Stephen Ostermiller
- 432
- 8
- 21
0
votes
0 answers
How to read VMware interrupt backlog?
The VMware document titled "Timekeeping in VMware Virtual Machines" have the following referente to the issues with the time drift:
If the virtual machine is running too slowly, perhaps as a result of competition for CPU time from other virtual
…
![](../../users/profiles/127081.webp)
rfmoz
- 694
- 9
- 15