Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: setting new topic on macos leads to rising use of file descriptors #680

Open
rkuhn opened this issue Jan 26, 2024 · 0 comments
Open
Labels

Comments

@rkuhn
Copy link
Member

rkuhn commented Jan 26, 2024

Product

Actyx

Operating System

Mac

Current behavior

Every topic switch results in one (or more) of the following sets of file descriptors, which are not released until the program is killed:

ax      19297 rkuhn   19u  KQUEUE                                      count=0, state=0xa
ax      19297 rkuhn   20u  KQUEUE                                      count=0, state=0xa
ax      19297 rkuhn   21u  KQUEUE                                      count=0, state=0xa
ax      19297 rkuhn   22u    unix 0x4ee6b67185b8308b      0t0          ->0x4ee6b67185b83153

While I have been unable to obtain stack traces for the creation of the Unix socket (only for the ioctl to make it non-blocking — from libp2p_mdns), the only place that uses kqueue is the instantiation of the Tokio runtime’s IO driver.

Expected behavior

The file descriptors allocated when starting with a topic should be released when switching to a different topic.

How to reproduce

No response

Additional notes

No response

@rkuhn rkuhn added the Bug label Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant