You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Kevin Klues (JIRA)" <ji...@apache.org> on 2017/02/02 00:01:51 UTC

[jira] [Updated] (MESOS-7050) IOSwitchboard FDs leaked when containerizer launch fails -- leads to deadlock

     [ https://issues.apache.org/jira/browse/MESOS-7050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Klues updated MESOS-7050:
-------------------------------
    Story Points: 2
          Labels: debugging mesosphere  (was: )
     Description: 
If the containizer launch path fails before actually
launching the container, the FDs allocated to the container by the
IOSwitchboard isolator are leaked. This leads to deadlock in
the destroy path because the IOSwitchboard does not shutdown until the
FDs it allocates to the container have been closed. Since the
switchboard doesn't shutdown, the future returned by its 'cleanup()'
function is never satisfied. 

We need a general purpose method for closing the IOSwitchboard FDs when failing in the launch path.

> IOSwitchboard FDs leaked when containerizer launch fails -- leads to deadlock
> -----------------------------------------------------------------------------
>
>                 Key: MESOS-7050
>                 URL: https://issues.apache.org/jira/browse/MESOS-7050
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Kevin Klues
>            Assignee: Kevin Klues
>            Priority: Critical
>              Labels: debugging, mesosphere
>
> If the containizer launch path fails before actually
> launching the container, the FDs allocated to the container by the
> IOSwitchboard isolator are leaked. This leads to deadlock in
> the destroy path because the IOSwitchboard does not shutdown until the
> FDs it allocates to the container have been closed. Since the
> switchboard doesn't shutdown, the future returned by its 'cleanup()'
> function is never satisfied. 
> We need a general purpose method for closing the IOSwitchboard FDs when failing in the launch path.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)