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

Troubleshoot/resolve "no space available" error during high message volume #4302

Open
qwahzi opened this issue Sep 28, 2023 · 0 comments
Open
Assignees
Labels
bug performance Performance/resource utilization improvement
Milestone

Comments

@qwahzi
Copy link
Collaborator

qwahzi commented Sep 28, 2023

Summary

Possibly related to TCP buffers (happens when writing to a TCP socket), still troubleshooting. Not a critical error, but needs improved error handling. When resolved, it should help node performance whenever volume is high (since it could reduce dropped traffic), but so far it's only reproducible in test environments (since testing has improved so much that we can push the node to its limits). Piotr has a working test branch that handles it better, but more testing is needed

May be related to the receiver not receiving fast enough (tried replicating with a cpu-bound test node). In theory the fixed error should just trigger a wait/retry (the socket is fine) vs the current socket close + reconnect. It may be result of using Boost ASIO - seems like an OS-level issue that requires custom error handling

The Nano nodes uses many very small packets, which may play a role in the above items. Dropping the number of TCP connections to the number of nodes doesn't seem to solve the error message, and reducing the number of votes per message causes errors to increase. Can't increase the votes per message currently, so it's difficult to test what would happen with bigger messages (e.g. 100 votes per message), but that's an area for future research

@qwahzi qwahzi added bug performance Performance/resource utilization improvement labels Sep 28, 2023
@qwahzi qwahzi added this to the Todo milestone Sep 28, 2023
@qwahzi qwahzi added this to ToDo in Nano Roadmap Sep 28, 2023
@qwahzi qwahzi moved this from Ongoing to Future / V27.0 in Nano Roadmap Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug performance Performance/resource utilization improvement
Projects
Nano Roadmap
Future / V28.0
Development

No branches or pull requests

2 participants