Skip to content

Problem: missing CLOEXEC flag on eventfd and epoll instances #2242

Closed
@rtlfu

Description

@rtlfu

on Linux, libzmq is leaking file descriptors when fork+exec for lack of CLOEXEC flag.

See
https://github.com/zeromq/libzmq/blob/master/src/epoll.cpp#L51
https://github.com/zeromq/libzmq/blob/master/src/signaler.cpp#L384

On other platforms, a possible candidate is
https://github.com/zeromq/libzmq/blob/master/src/signaler.cpp#L640

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions