Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Sep 2002 09:37:54 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        "T.C. Owen" <tcowen@tcowen.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ntpd
Message-ID:  <3D7369B2.90201@potentialtech.com>
References:  <3D733DA4.6000305@tcowen.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D7369B2.90201>