From owner-freebsd-questions Sat Apr 6 6:44:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from maild.telia.com (maild.telia.com [194.22.190.101]) by hub.freebsd.org (Postfix) with ESMTP id 3844637B405 for ; Sat, 6 Apr 2002 06:44:18 -0800 (PST) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by maild.telia.com (8.11.6/8.11.6) with ESMTP id g36EiDD16342 for ; Sat, 6 Apr 2002 16:44:13 +0200 (CEST) Received: from falcon.midgard.homeip.net (h68n2fls20o913.telia.com [212.181.163.68]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id QAA13329 for ; Sat, 6 Apr 2002 16:44:12 +0200 (CEST) Received: (qmail 25569 invoked by uid 1001); 6 Apr 2002 14:44:11 -0000 Date: Sat, 6 Apr 2002 16:44:11 +0200 From: Erik Trulsson To: Casey Scott Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ntpd Message-ID: <20020406144411.GA25519@student.uu.se> Mail-Followup-To: Casey Scott , freebsd-questions@FreeBSD.ORG References: <000701c1dd75$f3b1c330$0601a8c0@nixfusion.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000701c1dd75$f3b1c330$0601a8c0@nixfusion.com> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Apr 06, 2002 at 09:18:40AM -0500, Casey Scott wrote: > > The following messages log entries are concerning me. I don't know if I > should interpret it as the system isn't updating it's time properly, or it's > time keeping mechanism is bad. > > Apr 6 00:09:19 spareparts ntpd[12778]: kernel time discipline status 2040 > Apr 6 00:12:43 spareparts ntpd[12778]: time slew -72.208070 s > Apr 6 00:12:43 spareparts ntpd[12778]: kernel time discipline status change > 2041 > Apr 6 00:34:02 spareparts ntpd[12778]: time slew -71.751602 s > Apr 6 00:51:18 spareparts ntpd[12778]: time slew -70.855702 s > Apr 6 01:09:32 spareparts ntpd[12778]: time slew -69.938346 s > Apr 6 01:26:46 spareparts ntpd[12778]: time slew -69.033806 s [snip] > Apr 6 08:26:22 spareparts ntpd[12778]: time slew -47.709321 s > Apr 6 08:41:21 spareparts ntpd[12778]: time slew -46.791000 s > Apr 6 09:04:57 spareparts ntpd[12778]: time slew -45.934261 s > Apr 6 09:12:26 spareparts ntpd[12778]: time slew -45.155585 s > > Isn't the system suppose to adjust it's time after the ntp query > provides the correct time? Why does it only seem to be getting better a > second or so at a time? I would appreciate any advice. Two possibilities come to mind. Either you are running ntpd with the -x flag, which will make it only slew the time and not step it. The other possibility is that you running at securelevel 2 or higher which will prevent the time being adjusted by more than 1 second at a time. (But if this is the case you should see some mention of it in the logs.) -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message