On 1 dec 2010, at 17:49, no-re...@cfengine.com wrote:

> Forum: Cfengine Help
> Subject: cf-execd: is daemon or cron better?
> Author: babudro
> Link to topic: https://cfengine.com/forum/read.php?3,19542,19542#msg-19542
> 
> Does anyone have experience or a knowledgeable opinion on this topic?
> 
> In section 4.2 of the Reference Manual it demonstrates putting cf-execd in 
> the crontab and in section 1.10 it tells you to change the old "cfexecd" to 
> "cf-execd" in crontab.
> 
> Section 2.9 of the Reference Manual shows an example of running it as a 
> daemon and the Concept Guide says, "Whether you choose to run cf-execd in 
> daemon mode, or in wrapper mode is entirely up to you."
> 
> We are currently running it from cron, but I noticed the installation default 
> in /etc/default/cfengine3 is for it to start as a daemon.  I once missed 
> changing that and ended up with two copies of cf-execd running every five 
> minutes, so I made a policy to check that.
> 
> I noticed a couple of posts where people had troubles (core dump I believe it 
> was) when killing the daemon.  I suppose it avoids any potential memory leaks 
> to have it completely die off each time.
> 
> If Mark or any of the dev team would share any insight they have I'd be 
> especially glad to hear from them.


I run cf-execd as daemon. This runs cf-agent and this checks if cron is 
running.  Also use  cron to check if cf-execd is still runing.

--
Bas van der Vlies
b...@sara.nl



_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to