Forum: Cfengine Help
Subject: Too many cf-execd processes running
Author: daveseff
Link to topic: https://cfengine.com/forum/read.php?3,17902,17902#msg-17902

Hello, 

I've been testing 3.0.5p1 to fix some issues with 3.0.5. I've noticed with p1 
is that on my client servers cf-execd will start to multiply. 

# ps -ef| grep cf-
root      4815     1  0 15:34 ?        00:00:00 /var/cfengine3/bin/cf-execd
root      6791     1  0 15:55 ?        00:00:00 /var/cfengine3/bin/cf-execd
root      8685     1  0 16:10 ?        00:00:00 /var/cfengine3/bin/cf-execd

If I let it sit long enough, there will be hundreds of them to the point where 
if I do not do a killall -9, the machine will crap out. 

Has anyone else seen this behavior and/or is it a known issue? 

my cf-execd.cf

#######################
# cf-execd.cf
#######################

body executor control {
    splaytime => "10";
    mailto => "em...@meplease.now";
    smtpserver => "my.mail.server";
    mailmaxlines => "100";
    schedule => { "Min00_05", "Min30_35" };
    executorfacility => "LOG_DAEMON";
}

bundle agent executor {

    processes:

        "cf-execd"
            restart_class => "start_cfexecd";

    commands:

        start_cfexecd::
            "${g.workdir}/bin/cf-execd";

}

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

Reply via email to