Ron,

It looks to me like you have a promise that's getting hung on something. Run 
`cf-agent -KIv` (cap k, cap i, little v) and watch the output. You should be 
able to see where it's hanging.

-- 
Brian

On Jun 21, 2012, at 8:01 AM, Ron Parker <rdpar...@gmail.com> wrote:

> In testing that the promises for a given machine were sufficient to
> reconfigure it from scratch, I did a fresh OS install to a VM,
> bootstrapped CFE and manually started cf-agent.  After about 30
> minutes and the fourth email from the system, it had converged. I
> noted a few things that were missing, e.g. ssh configuration. So I
> made the policy changes over the course of the day.
> 
> Last night before leaving I rolled the VM back to the baseline OS
> install and bootstrapped CFE to test my changes. After about 10
> minutes I got an email reporting what happened during initial run but
> no reports thereafter. This morning I get in and find the machine has
> 182 (and climbing) copies of cf-execd and cf-agent. Other than my
> seemingly minor tweaks the only difference I am aware of is that the
> second time I did not run cf-agent manually at all, I let cf-execd
> start the processes.
> 
> I suspect it is somehow related to initial package installation and
> there is a possibly related discussion on the list from last year
> https://cfengine.com/forum/read.php?3,19505,19598, but I saw no clear
> resolution.
> 
> My questions are, how can I see what the active copy of cf-agent is
> doing that it did not complete? It does not have any child processes
> showing up in pstree.
> 
> The second question is how may I prevent this in the future but still
> have the system converge in a reasonable amount of time?
> 
> --
> Ron Parker
> Don't type things you find on the Internet into your computer!
> :(){ :|:&};:
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to