Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

ntp trys to adjust the kernel's time variables, in order to improve the performance of a free-running time.

I am searching a way to reset these variables, but I can't find a programm/command to do so.

Thanks everyone for helping me!

share|improve this question
is this still an issue? – dfc Nov 2 '11 at 20:09

I think you must be talking about the NTP Drift file. From Dr Mill's (originator of NTP) website:

During operation ntpd measures and corrects for incidental clock frequency error and occasionally writes the current value to a file specified by the driftfile /etc/ntp.drift configuration command. If ntpd is stopped and restarted, it initializes the frequency from this file and avoids the potentially lengthy interval to relearn the correction.

Deleting the drift file and restarting the ntp daemon so solve your problem. In debian, you'd do the following (note that the drift file may be stored in different can always use the "locate" command to find it):

invoke-rc.d ntp stop
rm /var/lib/ntp/ntp.drift
invoke-rc.d ntp start
share|improve this answer



This program is useful only with special kernels described in the A Kernel Model for
Precision Timekeeping  page. It reads and displays time-related kernel variables using
the ntp_gettime() system call. A similar display can be obtained using the ntpdc
program and kerninfo command.

You can set:

  • frequency offset
  • estimated error
  • clock offset
  • time constant

I am assuming those are the kernel time variables you are talking about. Please let me know if there are others you are interested in

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.