Date: Sun, 4 Aug 2013 10:15:47 -0700 From: Tim Kientzle <tim@kientzle.com> To: Jilles Tjoelker <jilles@stack.nl> Cc: freebsd-arch@freebsd.org Subject: Re: Reliable process tracking Message-ID: <37E22E4B-4710-42DB-AF82-1F4AF26D6005@kientzle.com> In-Reply-To: <20130804134658.GC35080@stack.nl> References: <20130804134658.GC35080@stack.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 4, 2013, at 6:46 AM, Jilles Tjoelker wrote: > When shutting down a service or requesting status, rc.subr currently > uses a combination of pidfiles and process names. This is fairly but not > completely reliable once it is set up correctly (which can take a lot of > work and possibly patching the daemon to use pidfile(3) from our > libutil). It is also incapable of killing multiprocess daemons such as > CGI web servers without cooperation of the daemon. > > I think what is needed here is a facility that marks a process and all > of its descendants. It sounds like all you really need is some way to signal a process and all descendants. Why do you need to actively mark and/or track them? Tim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37E22E4B-4710-42DB-AF82-1F4AF26D6005>