-
Notifications
You must be signed in to change notification settings - Fork 52
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
Broker crashes, running out of file descriptors #55
Comments
Looking at the process ( |
Grepping for pipes shows that the hooks use a pipe. And they never seem to close it. What is the reason not to use |
That would block the event loop. We need non-blocking file descriptors, which we register in the event loop, which uses It looks like |
Already done and rolled out to one server and confirmed to get rid of the hundreds of pipes. :) See #59. |
After 12h of uptime, we now have the following FD usage:
Looks like indeed the big leak got fixed. |
After 5-6h of uptime, the tunneldigger broker quits with the following error:
This has now happened twice. The first time, there were 150 tunnels connected constantly. The second time, the number of tunnels slowly went up from 0 to 70 before the crash.
The text was updated successfully, but these errors were encountered: