ntpd struggling to keep up - how to fix?

Torfinn Ingolfsen torfinn.ingolfsen at broadpark.no
Thu Feb 18 23:38:46 UTC 2010


On Thu, 18 Feb 2010 23:12:23 +0100
Torfinn Ingolfsen <torfinn.ingolfsen at broadpark.no> wrote:

> So I should change that to 3577045, right?
> Like so:
> root at kg-f2# sysctl machdep.acpi_timer_freq=3579545
> machdep.acpi_timer_freq: 3579545 -> 3579545

Eh... I just realized that I did it wrong. well, that's what cut and paste will do to you,
if you don't pay attention. ;)

Ok, I will try to do it right now:
root at kg-f2# sysctl machdep.acpi_timer_freq=3577045
machdep.acpi_timer_freq: 3579545 -> 3577045

root at kg-f2# /etc/rc.d/ntpd stop
Stopping ntpd.
root at kg-f2# ll /var/db/ntp*
-rw-r--r--  1 root  wheel  8 Feb 13 20:27 /var/db/ntpd.drift
root at kg-f2# rm /var/db/ntpd.drift
root at kg-f2# ll /var/db/ntp*
ls: /var/db/ntp*: No such file or directory
root at kg-f2# /etc/rc.d/ntpd start
Starting ntpd.

and fixing it in /etc/sysctl.conf too.
Done.
-- 
Torfinn



More information about the freebsd-stable mailing list