Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5157

DUCC shutdown sequence leaves agents running

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-Ducc
    • Component/s: DUCC
    • Labels:
      None

      Description

      A full DUCC shutdown (./stop_ducc -a) can leave DUCC agents as well as user processes still running after shutdown completes.

      The problems are caused because 1) a DUCC agent will hang trying to send inventory update report if the DUCC broker has been terminated, and 2) agents kill user processes sequentially which increases the likelihood that the broker will be terminated before the agent is finished cleaning up.

        Activity

        Hide
        cwiklik Jerry Cwiklik added a comment -

        Modified agent to send SIGTERM to all child processes, wait for a fixed amount of time and self destruct

        Show
        cwiklik Jerry Cwiklik added a comment - Modified agent to send SIGTERM to all child processes, wait for a fixed amount of time and self destruct
        Hide
        cwiklik Jerry Cwiklik added a comment -

        When agent receives SIGTERM, the child processes are still not cleaned up.

        Show
        cwiklik Jerry Cwiklik added a comment - When agent receives SIGTERM, the child processes are still not cleaned up.
        Hide
        cwiklik Jerry Cwiklik added a comment -

        Forgot to close before RC2. Modified to make sure agent shutsdown cleanly.

        Show
        cwiklik Jerry Cwiklik added a comment - Forgot to close before RC2. Modified to make sure agent shutsdown cleanly.

          People

          • Assignee:
            cwiklik Jerry Cwiklik
            Reporter:
            eddie_epstein Eddie Epstein
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development