Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Dec 2013 09:11:30 -0600
From:      Mark Felder <feld@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Having every daemon put itself into the background is bad software design
Message-ID:  <1386342690.25172.56361253.28A1E4DA@webmail.messagingengine.com>
In-Reply-To: <1386092314.98211.YahooMailNeo@web161904.mail.bf1.yahoo.com>
References:  <1386092314.98211.YahooMailNeo@web161904.mail.bf1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 3, 2013, at 11:38, Unga wrote:
> 
> Btw, I got in to this problem by trying to use DJB's daemontools to
> supervise my server running on FreeBSD. But it creates zombie processes
> and spawn quite fast. In my daemons, after fork(2), parent returns.
> 

Our own /usr/sbin/daemon utility has the ability to supervise processes
as well, but doesn't respawn processes at an insane rate like
daemontools does. I've seen a coredumping process supervised by
daemontools actually take a server down because of the CPU load.... our
own daemon utility respawns it after waiting 1 second.



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