-
Notifications
You must be signed in to change notification settings - Fork 394
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
file descriptor leak #170
Labels
bug
Something isn't working
Comments
Having investigated this a bit further the main leak appears to be in epoll/kqueue where file descriptors in use by the queue aren't freed when the queue is dropped. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently boringtun leaks file descriptors. If we add this to src/device/integration_tests/mod.rs:
This test will fail.
Comments:
count_file_descriptors_currently_in_use()
would count only file descriptors in use by the current process.count_file_descriptors_currently_in_use()
method is platform-specific but a naive implementation for Linux would beThe text was updated successfully, but these errors were encountered: