Forum: Cfengine Help
Subject: Re: cf-execd doesn't start
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,17649,17712#msg-17712

Worth noticing, strace shows the process stuck in read on fd 4. Perhaps, it 
could be helpful to use timeouts on read calls. I see the following in the 
process table:


21388 ?        S      0:00 sh -c "/var/cfengine/bin/cf-agent" -f failsafe.cf && 
"/var/cfengine/bin/cf-agent" -Dfrom_cfexecd
21403 ?        Ss     0:06 /var/cfengine/bin/cf-agent -Dfrom_cfexecd
22060 ?        Ss     0:00 /var/cfengine/bin/cf-serverd
22140 ?        Z      0:00  


Probably, cf-agent is trying to read from service (/sbin/service) zombie. 
SIGCHLD handler could help with this issue, too.

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

Reply via email to