zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2338) c bindings should create socket's with SOCK_CLOEXEC to avoid fd leaks on fork/exec
Date Fri, 08 Dec 2017 05:23:00 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16283077#comment-16283077
] 

ASF GitHub Bot commented on ZOOKEEPER-2338:
-------------------------------------------

GitHub user fr0stbyte opened a pull request:

    https://github.com/apache/zookeeper/pull/427

    [ZOOKEEPER-2338] - set SOCK_CLOEXEC on socket if defined

    @phunt @anmolnar 
    PR for 3.4 branch.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/fr0stbyte/zookeeper fr0stbyte/ZOOKEEPER-2338-3.4

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zookeeper/pull/427.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #427
    
----
commit 025142999b3fee596d6f41d63e0076582cca539f
Author: Radu Brumariu <radu@groupon.com>
Date:   2017-10-25T18:24:17Z

    [ZOOKEEPER-2338] - set SOCK_CLOEXEC on socket if defined

----


> c bindings should create socket's with SOCK_CLOEXEC to avoid fd leaks on fork/exec
> ----------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2338
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2338
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.5.3, 3.4.11, 3.6.0
>            Reporter: James DeFelice
>            Assignee: Radu Brumariu
>             Fix For: 3.5.4, 3.6.0
>
>
> I've observed socket FD leaks in Apache Mesos when using ZK to coordinate master leadership:
https://issues.apache.org/jira/browse/MESOS-4065



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message