Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2913

Memory leak in cf-execd and cf-monitord

    XMLWordPrintable

    Details

    • Platform:
      Linux

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                olehermanse Ole Herman Schumacher Elgesem
                Reporter:
                huna Hubert Nachbaur
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support

                    Summary Panel