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

Too many open files error #274

Open
guyluz11 opened this issue Nov 26, 2022 · 2 comments
Open

Too many open files error #274

guyluz11 opened this issue Nov 26, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@guyluz11
Copy link
Member

After running the hub for several hours on my arm device I got this exception.

Unhandled exception:
SocketException: Failed to create datagram socket (OS Error: Too many open files, errno = 24), address = , port = 5353
#0      _NativeSocket.bindDatagram (dart:io-patch/socket_patch.dart:1015:7)
<asynchronous suspension>
#1      MDnsClient.start (package:multicast_dns/multicast_dns.dart:135:40)
<asynchronous suspension>
#2      MdnsScanner._findingMdnsWithAddress (package:network_tools/src/mdns_scanner/mdns_scanner.dart:72:5)

I think increasing the delay between mdns searches will fix that.

@guyluz11 guyluz11 added the bug Something isn't working label Nov 26, 2022
guyluz11 added a commit to guyluz11/cbj_hub that referenced this issue Nov 26, 2022
@guyluz11
Copy link
Member Author

Changing the delay to 2m didn't fix the problem.

@guyluz11
Copy link
Member Author

guyluz11 commented Dec 5, 2022

Opened issue in flutter repo
flutter/flutter#116528

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant