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, 27 Oct 2017 15:05:00 GMT

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

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

GitHub user fr0stbyte opened a pull request:

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

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

    

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

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

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

    https://github.com/apache/zookeeper/pull/410.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 #410
    
----
commit e7fb9fc9fb0140c35869af255d39e643597b517c
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
>            Reporter: James DeFelice
>
> 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