From owner-freebsd-questions@FreeBSD.ORG Thu Jun 12 22:52:14 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCCA7106576C for ; Thu, 12 Jun 2008 22:52:14 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id 85E5C8FC0A for ; Thu, 12 Jun 2008 22:52:14 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 7EA0828445; Fri, 13 Jun 2008 10:34:00 +1200 (NZST) Date: Fri, 13 Jun 2008 10:34:00 +1200 From: Jonathan Chen To: Nerius Landys Message-ID: <20080612223400.GA68401@osiris.chen.org.nz> References: <560f92640806121417v792f1134medc75be8a164da16@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <560f92640806121417v792f1134medc75be8a164da16@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: questions@freebsd.org Subject: Re: multiple ntpd processes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2008 22:52:15 -0000 On Thu, Jun 12, 2008 at 02:17:46PM -0700, Nerius Landys wrote: > I'm running FreeBSD 7.0, and I have 'ntpd_enable="YES"' in my /etc/rc.conf. > Every time I reboot my server, I get two ntpd processes: > > nlandys@daffy# ps -U root | grep ntpd > PID TT STAT TIME COMMAND > 571 ?? Ss 0:00.12 /usr/sbin/ntpd -c /etc/ntp.conf -p > /var/run/ntpd.pid > 686 ?? S 0:00.00 /usr/sbin/ntpd -c /etc/ntp.conf -p > /var/run/ntpd.pid This is normal. ntpd spawns a secondary process to check timesyncs on startup. Have a look at the parent-child links with "ps l". It goes away after it has decided which time-source to use. -- Jonathan Chen ---------------------------------------------------------------------- "In mathematics you don't understand things. You just get used to them." - Johann von Neumann