[ 
https://issues.apache.org/jira/browse/MESOS-6315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15549602#comment-15549602
 ] 

Joris Van Remoortere commented on MESOS-6315:
---------------------------------------------

Since {{killtree}} is only used in the posix containerizer this is not a 
blocker.

> `killtree` can accidentally kill containerizer / executor
> ---------------------------------------------------------
>
>                 Key: MESOS-6315
>                 URL: https://issues.apache.org/jira/browse/MESOS-6315
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Joris Van Remoortere
>
> The implementation of killtree is buggy. [~jieyu] has some ideas.
> ltrace of mesos-local:
> {code}
> [pid 19501] [0x7f89d77a61ab] libmesos-1.1.0.so->kill(29985, SIGKILL)          
>                                                  = 0
> [pid 19501] [0x7f89d77a61ab] libmesos-1.1.0.so->kill(31349, SIGKILL <no 
> return ...>
> [pid 31359] [0xffffffffffffffff] +++ killed by SIGKILL +++
> [pid 31358] [0xffffffffffffffff] +++ killed by SIGKILL +++
> [pid 31357] [0xffffffffffffffff] +++ killed by SIGKILL +++
> [pid 31356] [0xffffffffffffffff] +++ killed by SIGKILL +++
> [pid 31354] [0xffffffffffffffff] +++ killed by SIGKILL +++
> [pid 31353] [0xffffffffffffffff] +++ killed by SIGKILL +++
> [pid 31351] [0xffffffffffffffff] +++ killed by SIGKILL +++
> [pid 31350] [0xffffffffffffffff] +++ killed by SIGKILL +++
> [pid 19501] [0x7f89d77a61ab] <... kill resumed> )                             
>                                                  = 0
> [pid 19501] [0x7f89d77a61dd] libmesos-1.1.0.so->kill(29985, SIGCONT <no 
> return ...>
> [pid 29985] [0xffffffffffffffff] +++ killed by SIGKILL +++
> [pid 19493] [0x7f89d64ceda0] --- SIGCHLD (Child exited) ---
> [pid 31352] [0xffffffffffffffff] +++ killed by SIGKILL +++
> [pid 31349] [0xffffffffffffffff] +++ killed by SIGKILL +++
> [pid 19501] [0x7f89d77a61dd] <... kill resumed> )                             
>                                                  = 0
> [pid 19501] [0x7f89d77a61dd] libmesos-1.1.0.so->kill(31349, SIGCONT)          
>                                                  = -1
> {code}



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

Reply via email to