From owner-freebsd-questions@FreeBSD.ORG Thu Nov 17 18:27:55 2005 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A134116A428 for ; Thu, 17 Nov 2005 18:27:55 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 408CC43D45 for ; Thu, 17 Nov 2005 18:27:55 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 52A9F56425; Fri, 18 Nov 2005 07:27:53 +1300 (NZDT) Date: Fri, 18 Nov 2005 07:27:53 +1300 From: Jonathan Chen To: Lowell Gilbert Message-ID: <20051117182753.GA8354@osiris.chen.org.nz> References: <1132150758.9234.14.camel@dracula> <44psozfkb9.fsf@be-well.ilk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44psozfkb9.fsf@be-well.ilk.org> User-Agent: Mutt/1.4.2.1i Cc: dev@unixdaemon.org, freebsd-questions@FreeBSD.org Subject: Re: Ntp Runs 2 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, 17 Nov 2005 18:27:55 -0000 On Thu, Nov 17, 2005 at 08:58:02AM -0500, Lowell Gilbert wrote: > Dev Tugnait writes: > > > Upong booting my machine i noticed ntp running 2 processes. > > > > root 456 0.0 0.1 2952 1396 ?? Ss 4:30AM > > 0:00.50 /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ > > root 803 0.0 0.1 2952 1404 ?? S 4:31AM > > 0:00.01 /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ > > > > rc.conf info > > ntpd_enable="YES" > > ntpd_flags="-c /etc/ntp.conf -p /var/run/ntpd.pid" > > ntpdate_enable="YES" > > ntpdate_flags="ntp2.usno.navy.mil" > > I'd guess that something else is being configured to start ntp as well... When ntp starts it spawns a child to help with syncing. Check the parent-child relationships on the processes. The child process will terminate after ntp makes up its mind which timeserver to sync against. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Experience is a hard teacher because she gives the test first, the lesson afterwards