On 6/17/10 10:55 AM, "no-re...@cfengine.com" <no-re...@cfengine.com> wrote: > Forum: Cfengine Help > Subject: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one > interface, possible solution? > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,17516,17520#msg-17520 > > I've never seen a host with so many IP's. Interesting. What about a way to > skip based on class or cli option?
I think I've missed some context, ignore if so. One place I routinely see this type of setup is on web proxies or UNIX boxes uses as load balancers which front-end a bunch of VIPs. Have you tried updating /etc/hosts with values for each of the IP aliases? It may be that it is DNS-related delays. I have seen both FreeBSD 6.x and RHEL 4/5.x hosts exhibit similar behavior, and /etc/hosts entries made it acceptably fast. Of course this would usually be an unacceptable solution, but since these were production hosts for us that didn't change much it wasn't a huge deal. Have you played with strace/truss/whatever and looked at the delays? _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine