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 2016/04/19 20:03:25 UTC

[jira] [Closed] (UIMA-4898) UIMA-DUCC: Agent process killer not working

     [ https://issues.apache.org/jira/browse/UIMA-4898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerry Cwiklik closed UIMA-4898.
-------------------------------
    Resolution: Fixed

An agent starts a timer to kill a process in case it fails to stop after SIGTERM is sent. When the timer pops the agent kills the process no matter what the current stat of the process is.

> UIMA-DUCC: Agent process killer not working 
> --------------------------------------------
>
>                 Key: UIMA-4898
>                 URL: https://issues.apache.org/jira/browse/UIMA-4898
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>             Fix For: 2.1.0-Ducc
>
>
> When a child process fails to stop in response to SIGTERM the agent timer pops and SIGKILL signal is sent to a process. The timer thread does pop but it checks the state of the process before sending SIGKILL. It only allows this to be sent to process which is in a Running state. However the process may be in Initializing and Starting states and SIGKILL is never sent.
> Change the code to send kill signal no matter the state of the process is.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)