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 legitimate usage. Tracking down a leak is very difficult indeed. I find it curious that there were 3 different opinions about what was leaking the most: exec, monitor and server. We've put a lot of work into finding these problems now - much of it was to do with multithreading and non-thread-safe malloc/free. Lets just all keep an eye out for leakage - and do tell us the OS when reporting a leak. Also don't forget, there is no shame in restarting a daemon once in a while to cure a leak. After after - that's how we used to run BIND which leaked like a bullet ridden sieve with the collywobbles. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine