From owner-freebsd-stable@FreeBSD.ORG Mon Jul 23 19:19:01 2007 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 049B416A469 for ; Mon, 23 Jul 2007 19:19:01 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id EBE9B13C483 for ; Mon, 23 Jul 2007 19:19:00 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay5.apple.com (relay5.apple.com [17.128.113.35]) by mail-out3.apple.com (Postfix) with ESMTP id D3BA8C7FBFA; Mon, 23 Jul 2007 12:19:00 -0700 (PDT) Received: from relay5.apple.com (unknown [127.0.0.1]) by relay5.apple.com (Symantec Mail Security) with ESMTP id C16AA29C002; Mon, 23 Jul 2007 12:19:00 -0700 (PDT) X-AuditID: 11807123-a7741bb000000b34-8a-46a4ff2496a0 Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay5.apple.com (Apple SCV relay) with ESMTP id A7D5030400C; Mon, 23 Jul 2007 12:19:00 -0700 (PDT) In-Reply-To: <200707231410.l6NEA6Do034748@lurza.secnetix.de> References: <200707231410.l6NEA6Do034748@lurza.secnetix.de> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9CF2C133-3EAF-4E75-A9DA-5366CD0535BF@mac.com> Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Mon, 23 Jul 2007 12:18:59 -0700 To: freebsd-stable@FreeBSD.ORG X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: LoN_Kamikaze@gmx.de Subject: Re: ntpd just sits there and does nothing X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2007 19:19:01 -0000 On Jul 23, 2007, at 7:10 AM, Oliver Fromme wrote: > [LoN]Kamikaze wrote: >> server 0.de.pool.ntp.org minpoll 4 maxpoll 8 >> server 1.de.pool.ntp.org minpoll 4 maxpoll 8 >> server 2.de.pool.ntp.org minpoll 4 maxpoll 8 >> server ntp1.rz.uni-karlsruhe.de minpoll 4 maxpoll 8 >> server ntp2.rz.uni-karlsruhe.de minpoll 4 maxpoll 8 >> server ntp3.rz.uni-karlsruhe.de minpoll 4 maxpoll 8 >> server ntp4.rz.uni-karlsruhe.de minpoll 4 maxpoll 8 >> >> restrict default ignore >> restrict 127.0.0.1 > > You need to add proper restrict lines for the servers, > of course. Basically you have configured ntpd to > ignore all servers. > > Also, putting "minpoll 4 maxpoll 8" on all servers is > somewhat suboptimal and puts an unnecessary burden on the > servers and networks without reason. I recommend to use > low polling intervals and the iburst option for one or > two local servers only (e.g. for NTP servers located in > your direct upstream or at your ISP), and higher polling > intervals for other public servers. I wish to second what Oliver has said, only more strongly: using "minpoll 4" is considered abusive and a misuse of the NTP pool. From http://www.pool.ntp.org/use.html "Be friendly. Many servers are provided by volunteers, and almost all time servers are really file or mail or webservers which just happen to also run ntp. So don't use more than three time servers in your configuration, and don't play dirty tricks with burst or minpoll - all you will gain is that this project will be stopped sooner or later." No machine should ever poll faster than once a minute (aka "minpoll 8") to someone else's timeserver without prior agreement. For an example of a reasonable client config, MacOS X uses a minpoll of 12 and a maxpoll of 17. -- -Chuck