Date: Tue, 19 Dec 2006 10:56:22 -0500 From: Michael Proto <mike@jellydonut.org> To: freebsd-stable@freebsd.org Subject: Re: ntpd flipping between PLL and FLL mode Message-ID: <45880BA6.80907@jellydonut.org> In-Reply-To: <20061219132032.GA66632@slackbox.xs4all.nl> References: <20061219124151.GA33385@icarus.home.lan> <20061219132032.GA66632@slackbox.xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Roland Smith wrote: > On Tue, Dec 19, 2006 at 04:41:51AM -0800, Jeremy Chadwick wrote: > <snip> >> Dec 19 00:22:26 icarus ntpd[624]: kernel time sync enabled 2001 >> Dec 19 01:47:48 icarus ntpd[624]: kernel time sync enabled 6001 >> Dec 19 02:04:52 icarus ntpd[624]: kernel time sync enabled 2001 > > Looks very familiar, unfortunately. > > <snip> >> I looked at the ntpd code for this, and there does not appear to >> be a way to disable logging of this message without impacting other >> important ntpd messages. :-( > > Since this is about the only message I ever see from ntpd, I put the > following line in /etc/ntpd.conf: > > logconfig -syncall > > At least this got rid of those annoying messages. Maybe syncinfo or > syncevents would be sufficient to kill these messages. I haven't checked > if LOG_NOTICE in the source code is equivalent to the message type > "info" in the manpage. > > IMHO, it violates the tradition that programs shouldn't blather. An alternate workaround I've discovered is to use a maxpoll of 9 in /etc/ntp.conf: server rolex.peachnet.edu maxpoll 9 Since implementing this I haven't seen any of the FLL/PLL flips in my logs. -Proto
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45880BA6.80907>