8000 File descriptors to log buffers are not released after publications are shutdown. · Issue #339 · aeron-io/aeron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
File descriptors to log buffers are not released after publications are shutdown. #339
Closed
@bedding

Description

@bedding

I ran into the same issue on this ticket: #329 a few days ago. I updated to the 1.2.4, and now the space are freed but the file descriptors are still held by the aeron client process.

In my case, I need to add and remove publications/subscriptions occasionally and I would like the code to run almost 24/7 without restarting. Linux has a limitation on the number of files that a process can open, which is 65535 on my machine. Since the aeron client code never releases the file descriptor even the log buffer itself is deleted, the process will eventually run out of fds, which will further lead to the pretty bad situation where no more files can be opened, no publication can be added and you can even open a socket.

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

      0