Try upgrading to the latest svn. I think this has to do with the interfaces. It
does not
affect how many cfengines can be running.
M
Miklos Honti wrote:
> Hi,
>
> I found yesterday that if the primary DNS server is missing the running of
> cf-agent -vK slows down and looks like only one cf-agent can run in the same
> time. I run the cf-agent -vK command with cssh, so I can see what's going on
> quite well. I have about 10 systems in this test environment.
>
> This is the last verbose line from cf-agent :
> cf3 Loaded /var/cfengine/ppkeys/root-...
>
> Than all of them wait except one that's running. After it finish there's some
> wait and than an other one kicks off.
>
> I tried to disable as many DNS related check as I could, but no success.
>
> body agent control
> {
> ifelapsed => "15";
> expireafter => "30";
> skipidentify => "true";
> }
>
> body server control
>
> {
> allowconnects => { "127.0.0.1" , "::1", "192.168.11.*" };
> allowallconnects => { "127.0.0.1" , "::1", "192.168.11.*" };
> trustkeysfrom => { "127.0.0.1" , "::1", "192.168.11.*" };
>
>
> # Make updates and runs happen in one
>
> cfruncommand => "$(sys.workdir)/bin/cf-agent -f failsafe.cf &&
> $(sys.workdir)/bin/cf-agent";
> allowusers => { "root" };
>
> maxconnections => "20";
> logallconnections => "true";
> skipverify => { "127.0.0.1" , "::1", "192.168.11.*" };
> }
>
> When I enable the primary dns server (just add an IP to the secondary one, so
> the primary and secondary DNS server is the very same system, no chance that
> there's any difference) everything works very fast and seems parallel.
>
> I'd expect that there is some delay in during the cf-agent running (a udp
> timeout), but I can't explain why there's only one client running at once and
> the rest of them is waiting.
>
> I guess I'm missing something, any hints what can be this exactly?
>
> Thanks,
>
> Miklos
>
> ******************************************************************************************************************************************
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error please reply to the sender
> indicating that fact and delete the copy you received.
> In addition, if you are not the intended recipient, you should not print,
> copy, retransmit, disseminate, or otherwise use the information
> contained in this communication. Thank you.
>
> Newsweaver is a Trade Mark of E-Search Ltd. Registered in Ireland No. 254994.
> Registered Office: 34 South Main St, Bandon, Co. Cork, Ireland. International
> Telephone Number: +353 23 8829880.
> ******************************************************************************************************************************************
>
> _______________________________________________
> Help-cfengine mailing list
> [email protected]
> https://cfengine.org/mailman/listinfo/help-cfengine
--
Mark Burgess
-------------------------------------------------
Professor of Network and System Administration
Oslo University College, Norway
Personal Web: http://www.iu.hio.no/~mark
Office Telf : +47 22453272
-------------------------------------------------
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine