You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Greg Mann (JIRA)" <ji...@apache.org> on 2017/01/10 21:53:58 UTC
[jira] [Commented] (MESOS-6796) IOSwitchboard server should discard
the accept when terminates.
[ https://issues.apache.org/jira/browse/MESOS-6796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15816307#comment-15816307 ]
Greg Mann commented on MESOS-6796:
----------------------------------
{code}
Branch: refs/heads/master
Commit: 87d7230171ec7a3ad2d232fbffc5bfc94f9cd68c
Parents: b492d44
Author: Greg Mann <gr...@mesosphere.io>
Authored: Mon Jan 9 16:06:11 2017 -0800
Committer: Jie Yu <yu...@gmail.com>
Committed: Mon Jan 9 16:06:11 2017 -0800
Fixed an FD leak in the IO switchboard.
Previously, the IO switchboard could leak file descriptors
because it held a reference to its server socket within the
socket's accept loop. This patch explicitly discards the
future containing this reference to eliminate the leak.
Review: https://reviews.apache.org/r/55355/
{code}
> IOSwitchboard server should discard the accept when terminates.
> ---------------------------------------------------------------
>
> Key: MESOS-6796
> URL: https://issues.apache.org/jira/browse/MESOS-6796
> Project: Mesos
> Issue Type: Bug
> Reporter: Jie Yu
> Assignee: Greg Mann
>
> Otherwise, it might leak an fd (mainly in tests).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)