Joris Van Remoortere created MESOS-6315:
-------------------------------------------
Summary: `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)