You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2014/02/21 16:09:19 UTC

[jira] [Created] (UIMA-3645) Ducc Agent logs excessively when cleaning up on startup

Jerry Cwiklik created UIMA-3645:
-----------------------------------

             Summary: Ducc Agent logs excessively when cleaning up on startup
                 Key: UIMA-3645
                 URL: https://issues.apache.org/jira/browse/UIMA-3645
             Project: UIMA
          Issue Type: Bug
          Components: DUCC
    Affects Versions: 1.0-Ducc
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik


When an Agent starts up it tries to cleanup the node  of running processes that are associated with cgroups on the node. It reads pids of these process from each of active cgroups and kills them via -9.

All of this works fine except if there is a zombie process. This is a process that is dead but still appears in the OS process map. In this case the cgroup exist and the process is still associated with it. Killing such process with -9 has no effect as the process is already dead. The bug is that the agent goes into an infinite loop waiting for the zombie to go away and worse yet, it keeps logging at 200ms intervals.

Add detection of zombies and prevent logging.




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)