You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Andrei Budnik (JIRA)" <ji...@apache.org> on 2019/02/08 16:13:00 UTC

[jira] [Issue Comment Deleted] (MESOS-6632) ContainerLogger might leak FD if container launch fails.

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

Andrei Budnik updated MESOS-6632:
---------------------------------
    Comment: was deleted

(was: [~gilbert] Could you please fill out Fix Version/s?)

> ContainerLogger might leak FD if container launch fails.
> --------------------------------------------------------
>
>                 Key: MESOS-6632
>                 URL: https://issues.apache.org/jira/browse/MESOS-6632
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization
>    Affects Versions: 0.28.2, 1.0.1, 1.1.0
>            Reporter: Jie Yu
>            Assignee: Andrei Budnik
>            Priority: Critical
>
> In MesosContainerizer, if logger->prepare() succeeds but its continuation fails, the pipe fd allocated in the logger will get leaked. We cannot add a destructor in ContainerLogger::SubprocessInfo to close the fd because subprocess might close the OWNED fd.
> A FD abstraction might help here. In other words, subprocess will no longer be responsible for closing external FDs, instead, the FD destructor will be doing so.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)