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

watchdog triggers every 5 minutes on duplicate cf-execd processes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Higher
    • Resolution: Fixed
    • Affects Version/s: 3.18.0, 3.18.1
    • Fix Version/s: 3.18.2, 3.20.0
    • Component/s: cf-execd
    • Labels:
      None
    • Story Points:
      0

      Description

      link to google group discussion -> https://groups.google.com/g/help-cfengine/c/DCA0pPU2-co

       

      since upgrading to 3.18.1 aix watchdog triggers every 5 minutes on duplicate cf-execd
      processes. this is an all upgraded systems.

      root@aixgkvdbp01c1: /var/cfengine # cat watchdog.log
      Mon Feb 7 14:04:00 CET 2022 Initiating watchdog 37355794
      Mon Feb 7 14:04:00 CET 2022 Found 2 cf-execd processes running
      Mon Feb 7 14:04:00 CET 2022 Found 1 symptoms, threshold (0) breached.
      Mon Feb 7 14:04:01 CET 2022 Initiating apoptosis
      Mon Feb 7 14:04:02 CET 2022 Initiating anastasis
      Mon Feb 7 14:05:00 CET 2022 Initiating watchdog 42205442
      Mon Feb 7 14:05:00 CET 2022 Aborting execution of watchdog 42205442, existing watchdog process 37355794 running
      Mon Feb 7 14:05:07 CET 2022 Collected artifacts stored in /var/cfengine/watchdog-archives/2022-02-07_1644239107.tar.gz
      Mon Feb 7 14:05:07 CET 2022 DONE watchdog 37355794

       

      was introduced by:

      cf-execd now runs cf-agent from a child process instead of a
      thread on POSIX systems (ENT-6182)

       

      local fix:

      https://github.com/cfengine/masterfiles/blob/master/cfe_internal/core/watchdog/templates/watchdog.mustache#L144

      changed threshhold from "1" to "2"

       

        Attachments

          Activity

            People

            Assignee:
            a10042 Nick Anderson
            Reporter:
            grumpycat Christian Tremel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: