You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just that I am instantiating a tokio runtime async thread for every connection made, I make sure to use the peer_connection.close().await before the thread is closed. It works without issue normally, but when I reach somewhere around 200 connections (always occur at 190-210 range), this error pops up.
The text was updated successfully, but these errors were encountered:
/home/nvidia/.cargo/registry/src/index.crates.io-6f17d22bba15001f/webrtc-mdns-0.6.1/src/conn/mod.rs:75 | Error getting interfaces: Os { code: 24, kind: Uncategorized, message: "Too many open files" }
There seem to be a socket file leak happening,
My code is similar to the one here:
https://github.com/webrtc-rs/webrtc/blob/master/examples/examples/data-channels/data-channels.rs
Just that I am instantiating a tokio runtime async thread for every connection made, I make sure to use the peer_connection.close().await before the thread is closed. It works without issue normally, but when I reach somewhere around 200 connections (always occur at 190-210 range), this error pops up.
The text was updated successfully, but these errors were encountered: