uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <...@uima.apache.org>
Subject [jira] [Closed] (UIMA-4898) UIMA-DUCC: Agent process killer not working
Date Tue, 19 Apr 2016 18:03:25 GMT

     [ 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)

Mime
View raw message