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

Figure out how to adjust net.inet.udp.maxdgram on macOS when running solminer? #4945

Closed
mvines opened this issue Jul 6, 2019 · 1 comment

Comments

@mvines
Copy link
Member

mvines commented Jul 6, 2019

The default udp max datagram size on macOS is usually 9216, which is too small for our usage. We tune this value for validators at

sysctl_write net.inet.udp.maxdgram 65535
but this setting will not be picked up when running the solminer GUI.

Without this setting the replicator will emit continual "Message too long" WARN messages. T simulate the warnings, run sudo sysctl -w net.inet.udp.maxdgram=10000 then start the replicator. sudo sysctl -w net.inet.udp.maxdgram=65535 and restart the replicator to make the warnings go away.

Are these just warnings that are safe to ignore?
If yes, let's reduce the log level and bury them.
If no, figure out what to do about the maxdgram mismatch. Smaller datagrams or add UI to detect this condition and guide the user on how to fix it (which would require they enter their password as they sudo)

@mvines
Copy link
Member Author

mvines commented Jul 29, 2019

This issue will be fixed by #5294

@mvines mvines closed this as completed Aug 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant