Details
-
Type:
Bug
-
Status: Done
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: 3.12.0
-
Component/s: cf-execd, cf-monitord
-
Labels:None
Description
Hi,
we have updated our systems to cfengine-community 3.12.0 and are observing a high memory usage of cf-execd and cf-monitord after a few weeks.
> ps aux -sort -rss | grep cf
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 5699 0.2 1.4 403612 364904 ? Ss Aug30 122:58 /var/cfengine/bin/cf-execd
root 9934 1.1 1.3 370804 334752 ? Ss Aug30 587:34 /var/cfengine/bin/cf-monitord
root 5727 0.0 0.0 46272 8260 ? Ss Aug30 0:57 /var/cfengine/bin/cf-serverd
As you can see the resident set size of both processes is above 300 MB. Because of this wasted memory we have to restart cfengine on all servers at least once a month. I've attached the output of valgrind as described in https://github.com/cfengine/core/wiki/Troubleshooting.