We have some hosts that have gotten out of sync due to ntpd
being mis-configured, with an ntp server that was unreachable. Our clocks on some hosts (CentOS 6) are now upwards of 30 seconds off (in the future it seems, for most of these).
It looks like from the docs of ntpd
that the fastest sync we have available is around 500us/s
-- is there any way to increase this so that the clocks update much faster, but not instantly? For example, we'd like to have this set instead to something like 100ms/s
.
Is this possible? If so, how can we go about this safely?
Is it dangerous?
The safe thing to do is to take down services then just set the clock. Such as with ntpdate, which tends to ship with a init script to do that at boot. Downtime isn't fun, but databases and other things don't like the clock going backwards.
The Linux adjtimex man page describes the system call used. Allowed offsets are measured in usec, it takes a long time to slew.