ntpd flipping between PLL and FLL mode

Michael Proto mike at jellydonut.org
Tue Dec 19 08:23:07 PST 2006


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



More information about the freebsd-stable mailing list