Chengwei, see the discussion of configurable SIGTERM/KILL escalation on
https://issues.apache.org/jira/browse/MESOS-1571

On Wed, Apr 29, 2015 at 8:55 PM, Chengwei Yang <[email protected]>
wrote:

> Hi List,
>
> Is there a way to configure how mesos to kill task?
>
> The background is we have a type of task, which running with mesos native
> docker
> support. The task is a kind of message consumer which will take task from
> message queue and take care of it. However, a task may be very large, costs
> hours to finish, so we'd like to kill the container like this: send an
> signal(TERM maybe) to it and wait for a configurable timeout to kill it
> with
> KILL. So our task consumer can handle TERM and will exit once it finished
> current task.
>
> Is there a good way to do that or any other tips?
>
> Thank you all in advance.
>
>
> --
> Thanks,
> Chengwei
>

Reply via email to