Hey, Yes, we would need more data to check if this is a problem with Cfengine, the libraries, and fix any leak. Please follow http://www.cfengine.org/pages/troubleshoot#memleak and report a bug if you think the problem resides in Cfengine.
-- Regards, Eystein On Mon, Dec 20, 2010 at 2:26 PM, Jonathan CLARKE < [email protected]> wrote: > On 19/12/2010 20:31, [email protected] wrote: > > Forum: Cfengine Help > Subject: cf-serverd memory leak still (v3.1.2) > Author: Igor > Link to topic: https://cfengine.com/forum/read.php?3,19852,19852#msg-19852 > > Hi! > > Looks like memory leak still... > > cfengine 3.1.2 on freebsd 7.1 i386/amd64: > > > I'm seeing leaks with 3.1.2 on Linux amd64 too. The amounts are less high > than Igor's, but I have set up some graphs, which clearly show cf-execd, > cf-serverd and cf-monitord growing steadily: > > > > This graph follows the RSS size as reported by "ps". Therefore, it is a > representation of in-memory pages, roughly speaking. > > I restarted all Cfengine daemons on the 15th. I had to cut the graph off > after the 18th, as we ran some unrelated tests on the machine, causing it to > start swapping, and muck up the graphs... Sorry. > > This machine is a dedicated machine to monitor Cfengine's daemons : it's a > freshly installed Debian 5 (64 bits), no options, just the Cfengine 3.1.2 > package installed. There are no connections to cf-serverd. cf-execd runs > cf-agent every 5 minutes, which just updates it's promises from another > cf-serverd, and checks a few things locally (install packages, check config > files, run processes...). > > This is just a short excerpt, but all 3 processes continue to grow, eating > up all the RAM there is, then all the swap space, and finally crashing the > machine. Of course, I could just restart them every night, but this is a > test machine, so I'm not worried about hiding the problem, just observing > and fixing it :) > > I'm happy to look into this further with valgrind, or whatever you may > need, if the problem can't be reliably reproduced elsewhere (I can even give > root access to this VM to someone at Cfengine AS). > > Regards, > Jonathan > > -- > ========================================== > Jonathan CLARKE > ------------------------------------------ > Normation > 44 rue Cauchy, 94110 Arcueil, France > ------------------------------------------ > Telephone: +33 (0)1 83 62 41 24 > Mobile: +33 (0)6 99 60 03 10 > ------------------------------------------ > Web: http://www.normation.com/ > ========================================== > > > _______________________________________________ > Help-cfengine mailing list > [email protected] > https://cfengine.org/mailman/listinfo/help-cfengine > >
_______________________________________________ Help-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/help-cfengine
