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 usage; however, many factors are in play here. I have a static compile with pcre-8.01, openssl-1.0.0a, db-4.8.26, and cfengine-3.0.5 (not to forget the supporting cast - m4, bison, libtool, zlib, and the like). Not to mention how you are implementing cfengine make a difference as well. Perhaps writing a very active and simple standalone policy, we can eliminate the differences in the cfengine configuration and establish a common benchmark. Another interesting observation, cf-serverd is the big memory consumer for me, but only on the policy host. This is understandable as it receives the brunt of external connections. This lead me to believe it was a threading/freeing/scope issue. Since the non-threaded compile yesterday, cf-serverd seems to be leveling off at 461M (initial memory usage beings at 288M). It has only been running for a day, so that is not a good evaluation of memory usage. I will keep monitoring and see how it progresses. I still have not been able to discount the OS as being the culprit, but I am making small steps toward eliminating the possibilities. This could take awhile. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine