-
Notifications
You must be signed in to change notification settings - Fork 43
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
buffer of stream grows beyond limit #188
Comments
Thanks for reporting @nazar-pc. Can you reference the concrete rust-yamux version and link to your code using rust-yamux? |
We're using yamux 0.13.2 through libp2p-yamux 0.45.1, both of them are releases on crates.io, here is the configuration of it: https://github.com/subspace/subspace/blob/d159452bf4cd480837770d83c4f0cab3a28da048/crates/subspace-networking/src/constructor.rs#L306-L310 |
Do you see the same error without: yamux_config.set_receive_window_size(YAMUX_RECEIVING_WINDOW as u32); |
Will give it a try, but since I don't see it myself will have to ask users to test a custom build without it. The default seems unnecessarily large though. |
According to a single user's feedback issue disappeared once I removed it |
Note that without setting the configuration option, you are using the newer With In other words, the fact that users no longer see the log line when removing the configuration |
Hm... but we are not setting options to fall back to 0.12 🤔 Can 0.12 on the other end of the connection cause this? |
After upgrading to newer release of yamux with #176 I get frequent reports from users that they see errors like this in logs:
Yamux in libp2p is configured with 256 max streams and receiving window of 1310816 bytes.
Everything else is set to defaults.
Is this a known issue or maybe configuration is wrong on my end?
The text was updated successfully, but these errors were encountered: