Jerry Cwiklik created UIMA-5814:
-----------------------------------

             Summary: UIMA-DUCC: agent should support quiesce request
                 Key: UIMA-5814
                 URL: https://issues.apache.org/jira/browse/UIMA-5814
             Project: UIMA
          Issue Type: Improvement
          Components: DUCC
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik
             Fix For: 2.2.3-Ducc


Currently when an agent receives stop request through its admin channel it 
sends SIGTERM to all its running processes and waits 1 minute them to stop. Any 
process still standing after 1 minute is than killed via SIGKILL. 

In addition to stop request, an agent should support a quiesce request (through 
an admin channel). When such request is received an agent should send SIGTERM 
to all its running processes but should not send SIGKILL to allow each process 
to finish its tasks and exit when done. An agent should not start a timer after 
sending the SIGTERM.

In an event that a process does not exit, a sys admin can send a stop request 
to an agent to force termination.

In addition to changes in an agent, modifications are also needed in the RM, 
perhaps OR, CLI and scripts.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to