From owner-freebsd-questions Mon Sep 2 6:30:44 2002 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 1F73B37B401 for ; Mon, 2 Sep 2002 06:30:40 -0700 (PDT) Received: from infinity.aesredfish.net (ns1.aesredfish.net [65.168.0.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77BE343E72 for ; Mon, 2 Sep 2002 06:30:39 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (mhope-dhcp-65-168-1-181.dashfast.com [65.168.1.181]) by infinity.aesredfish.net (8.11.6/8.11.0) with ESMTP id g82DUbD19018; Mon, 2 Sep 2002 09:30:37 -0400 Message-ID: <3D7369B2.90201@potentialtech.com> Date: Mon, 02 Sep 2002 09:37:54 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc1) Gecko/20020502 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "T.C. Owen" Cc: freebsd-questions@freebsd.org Subject: Re: ntpd References: <3D733DA4.6000305@tcowen.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG T.C. Owen wrote: > when I run ntpd it always creates two processes; is it supposed to do > that? and if so, why? and if it is supposed to do that, why does rc.conf > by default have it put its PID in a file when the file will only hold > one of the PID's? You apparently have nptd configured to run in a mode where it has to fork to do everything you've asked of it. Yes, it's supposed to do that, but it doesn't have to. My proxy server only runs a single ntpd, but it's probably configured differtly than yours. The PID file contains the PID of the parent process. If you send a signal to this process, it will pass it on to child processes as needed. So there is no need to have more than one PID in that file. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message