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

DUCC: Agent fails to stop processes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-Ducc
    • DUCC
    • None

    Description

      Agent does not stop running processes sometimes. In a specific case, the agent left a few processes running even though these processes state was set to Stopping.

      [Process Type=Pop DUCC ID=348 PID=17099 State=Stopping Resident Memory=361656320 GC Total=-1 GC Time=-1 Init Stats List Size:0 Reason: JPHasNoActiveJob] Exit Code=0
      [Process Type=Pop DUCC ID=364 PID=593 State=Stopping Resident Memory=7382974464 GC Total=-1 GC Time=-1 Init Stats List Size:0 Reason: JPHasNoActiveJob] Exit Code=0

      For some reason Agent failed to send SIGKILL after SIGTERM failed to stop them. Since these processes used a lot of memory, the OS killer ended up killing legit processes to keep the node from running out of memory.

      Since agent logs wrapped the evidence of what happened has been lost.

      Modify agent to keep sending SIGKILL to processes in Stopping state after some time lapses. Perhaps rogue process detector can be tasked with that.

       

      Attachments

        Activity

          People

            cwiklik Jaroslaw Cwiklik
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: