Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7050

IOSwitchboard FDs leaked when containerizer launch fails -- leads to deadlock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.2.0
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              klueska Kevin Klues
              klueska Kevin Klues
              Jie Yu Jie Yu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: