-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Add option to increase SO_RCVBUF on dnstap listen socket #61
Comments
good idea, I need to check if it's easy to implement. |
I am not an expert in this topic, can you help me to implement that ? |
You can set any value without error and if you exceed the Golang socket API does not really make it easy to set and get socket options. Rought PoC I hacked together:
With
Note that |
Some other languages make this pretty easy, example from my own code :)
|
FYI, the following adaptation of your proposal will be implement on next release
Output: |
Thanks, looks good to me
|
Implemented in v0.29. 0 release |
hey,
Unbound is super aggressive (for good reasons) in closing the blocking TCP sockets should there be even a tiny receive queue on collector side (due to IOPS peaks, for example).
Perhaps add config option to manually set setReadBuffer on the dnstap collector listening socket so kernel could at least buffer more data in such scenarios?
The text was updated successfully, but these errors were encountered: