You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Luke Adolph <ke...@gmail.com> on 2016/08/16 05:35:11 UTC

kill mesos task

Hi all:
    I find a *zombie task* on mesos. I ssh to the agent and use "sudo kill
pid" to kill the task, however, mesos will relaunch it on another angent.
    So I want to know how to kill the task fully.
    Thanks!
-- 
Thanks & Best Regards
卢文泉 | Adolph Lu
TEL:+86 15651006559
Linker Networks(http://www.linkernetworks.com/)

Re: kill mesos task

Posted by Peker Mert Öksüz <me...@cimri.com>.
I couldn't find the way killing zombie tasks. If your zombie task is a
docker container you can kill process from inside the container.  Also i
recommend to use dumb-init system for docker apps, it will reduce zombie
processes.

16 Ağu 2016 Sal, 08:38 tarihinde, Dario Rexin <dr...@apple.com> şunu yazdı:

> Hey,
>
> Mesos does not relaunch tasks on its own. What Scheduler do you use? Did
> you delete the service from that scheduler.
>
> --
> Dario
>
> On Aug 15, 2016, at 10:35 PM, Luke Adolph <ke...@gmail.com> wrote:
>
>
> Hi all:
>     I find a *zombie task* on mesos. I ssh to the agent and use "sudo
> kill pid" to kill the task, however, mesos will relaunch it on another
> angent.
>     So I want to know how to kill the task fully.
>     Thanks!
> --
> Thanks & Best Regards
> 卢文泉 | Adolph Lu
> TEL:+86 15651006559
> Linker Networks(http://www.linkernetworks.com/)
>
> --
Peker Mert Öksüz
DevOps Engineer

Re: kill mesos task

Posted by Dario Rexin <dr...@apple.com>.
Hey,

Mesos does not relaunch tasks on its own. What Scheduler do you use? Did you delete the service from that scheduler.

--
Dario

> On Aug 15, 2016, at 10:35 PM, Luke Adolph <ke...@gmail.com> wrote:
> 
> 
> Hi all:
>     I find a zombie task on mesos. I ssh to the agent and use "sudo kill pid" to kill the task, however, mesos will relaunch it on another angent.
>     So I want to know how to kill the task fully. 
>     Thanks!
> -- 
> Thanks & Best Regards
> 卢文泉 | Adolph Lu
> TEL:+86 15651006559
> Linker Networks(http://www.linkernetworks.com/)