Cfengine Help: Re: Very high memory consumption of cf-execd

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Very high memory consumption of cf-execd Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17337,17513#msg-17513 We have not observed any leaking in cf-monitord. cf-execd was the main culprit in our testing. But do look at the latest and let us kn

Cfengine Help: Re: Very high memory consumption of cf-execd

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Very high memory consumption of cf-execd Author: matter Link to topic: https://cfengine.com/forum/read.php?3,17337,17514#msg-17514 Interesting indeed. cf-monitord and cf-execd do not seem to be leaking for me. In fact, they seem pretty tight as far as memory usag

Cfengine Help: Re: Very high memory consumption of cf-execd

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Very high memory consumption of cf-execd Author: matter Link to topic: https://cfengine.com/forum/read.php?3,17337,17515#msg-17515 There is a facility for debugging malloc on AIX. I enabled the malloc debugging on cf-serverd (non-threaded) on the policy host and

Cfengine Help: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: lero Link to topic: https://cfengine.com/forum/read.php?3,17516,17516#msg-17516 Hi, We have some servers that has more than 100 IP's on one interface (via iproute2). Fo

Cfengine Help: Re: Very high memory consumption of cf-execd

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Very high memory consumption of cf-execd Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17337,17517#msg-17517 Trust me, debugging memory leaks is the hardest thing ever. As you correctly point out, most of what you see "leaked" is competely leg

Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17516,17518#msg-17518 This is a tricky problem. When we skip stuff, it break some peoples' configs. When we

Cfengine Help: Re: /var/cfengine/bin

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: /var/cfengine/bin Author: AS5C0TT Link to topic: https://cfengine.com/forum/read.php?3,17499,17519#msg-17519 I think the purge setting is a mistake. It's pretty dangerous to set purge => true. About the binaries. I understand it as an effort to bootstrap Cfengin

Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-17 Thread no-reply
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 s

Cfengine Help: Re: Setting perms on home directory files

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Setting perms on home directory files Author: AS5C0TT Link to topic: https://cfengine.com/forum/read.php?3,17127,17521#msg-17521 Don't forget that you can use files_select instead of all those ugly shell commands http://www.cfengine.org/manuals/cf3-reference.htm

Cfengine Help: Re: Quoting netiquette

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Quoting netiquette Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17309,17522#msg-17522 Matt(er), you are right. We diagnosed the reason for mail/forum cross postings going wrong today. I think they are back now. Vive la quotation. ___

Cfengine Help: Re: Configuration Management Summit

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Configuration Management Summit Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17438,17523#msg-17523 Only a few days now to the summit, so I support Dan's call to arms and legs. It would be nice to meet folks in Boston and hear your experiences

Duplicate variable definition in bundle

2010-06-17 Thread Tod Oace
In the example below it seems like the bundle is getting run twice. The first time it does what we want. But then it's trying to set the $(status) variable a second time and complains about it. Adding ", policy => overridable" makes the warning go away, but we still don't want the definition happ

Cfengine Help: Re: Configuration Management Summit

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Configuration Management Summit Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17438,17524#msg-17524 Some of us will be in our bunkers avoiding the Toronto downtown and both airports that are about to become purgatory, at best, thanks to

Re: Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100ip's on one interface, possible solution?

2010-06-17 Thread Mike Hoskins
On 6/17/10 10:55 AM, "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 se

Cfengine Help: Re: Duplicate variable definition in bundle

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Duplicate variable definition in bundle Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17525,17527#msg-17527 I'm not sure what you are getting at. Bundles typically run three times in a run. If a promise has already been kept then it i

Cfengine Help: Re: Very high memory consumption of cf-execd

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Very high memory consumption of cf-execd Author: matter Link to topic: https://cfengine.com/forum/read.php?3,17337,17528#msg-17528 It is curious that there are 3 different opinions, which leads me to believe it is an OS thing. I don't mind restarting cf-serverd e

Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: lero Link to topic: https://cfengine.com/forum/read.php?3,17516,17529#msg-17529 Mark, There's a faster way to get these information about network interfaces? When yo

Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: lero Link to topic: https://cfengine.com/forum/read.php?3,17516,17530#msg-17530 Neil, The reason to have many IP's is that it's a firewall for our VM's doing NAT 1:1

Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: matter Link to topic: https://cfengine.com/forum/read.php?3,17516,17531#msg-17531 Would bindtointerface help here? ___ He

Cfengine Help: Re: Setting perms on home directory files

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Setting perms on home directory files Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,17127,17532#msg-17532 I'm not sure what files you're suggesting using file_select for but my solution above doesn't use any shell commands. I did have to chan

Cfengine Help: Re: /var/cfengine/bin

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: /var/cfengine/bin Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,17499,17533#msg-17533 I don't know why purge would be dangerous unless something is broken. It never caused a problem until I started using rpms from cfengine.com that install th

Cfengine Help: Re: build cf3.0.5 with openssl 1.0.0a

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: build cf3.0.5 with openssl 1.0.0a Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17444,17534#msg-17534 This problem has returned. Consider this build script: PREFIX=/home/nwatson/cfengine make distclean LD_LIBRARY_PATH=$PREFIX/lib64:$PRE

Re: Cfengine Help: Re: /var/cfengine/bin

2010-06-17 Thread Mike Hoskins
On 6/17/10 12:12 PM, "no-re...@cfengine.com" wrote: > Forum: Cfengine Help > Subject: Re: /var/cfengine/bin > Author: Beto > Link to topic: https://cfengine.com/forum/read.php?3,17499,17533#msg-17533 > > I don't know why purge would be dangerous unless something is broken. It > never caused a pr

Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17516,17535#msg-17535 Ufortunately, Cfengine has to run on all OSes, not just Linux, so /proc is no help.

Re: Cfengine Help: Re: Duplicate variable definition in bundle

2010-06-17 Thread Tod Oace
On Jun 17, 2010, at 11:13 AM, wrote: > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,17525,17527#msg-17527 > > I'm not sure what you are getting at. Bundles typically run three times in a > run. If a promise has already been kept then it is skipped. We're still l

Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17516,17538#msg-17538 Why not just adding an option not to resolve IPs upon scanning'em? I guess,