Forum: Cfengine Help Subject: Re: Adding large number of host classes slows down cfengine drastically Author: megamic Link to topic: https://cfengine.com/forum/read.php?3,19521,19567#msg-19567
One other thing that made a difference for me is be careful when using execresult - particularly after 3.1.0. Since that version, it appears the execresult will be called multiple times (for each pass of the bundle) - so if you have a fairly slow command it can really bog things down. I used classes to ensure that execresult is only called the first time which helped in some cases. I am not aware of any docs on optimization - but if we get the new CMS/Wiki that Mark has been proposing, I think an Optimization section is a must have! _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine