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

unbound warning, sysctl bigger net.core.rmem_max(linux) or kern.ipc.maxsockbuf(bsd) values. #45

Closed
dokbua opened this issue Apr 6, 2021 · 5 comments

Comments

@dokbua
Copy link

dokbua commented Apr 6, 2021

docker-compose logs report this warning:

pihole | [1617699480] unbound[18:0] warning: so-rcvbuf 1048576 was not granted. Got 425984. To fix: start with root permissions(linux) or sysctl bigger net.core.rmem_max(linux) or kern.ipc.maxsockbuf(bsd) values.

How can I fix that?

@voc0der
Copy link

voc0der commented Apr 16, 2021

Same issue here. When watchtower finished updating, it broke my install. After several different attempts, I was able to make it still work, though that error is concerning and still present.

@tillcash
Copy link

Comment / Remove the line so-rcvbuf: 1m in unbound conf file to resolve the issue.

@DKeppi
Copy link

DKeppi commented Apr 20, 2021

Same Warning i mentioned, a time ago, here:
#28

Is the fix really so simple like @tillcash writes? 🙈

EDIT: Tried it on my own and it works!!!

chriscrowe added a commit that referenced this issue May 28, 2021
Reducing so-rcvbuf to 400k

Attempting to fix #45
@chriscrowe
Copy link
Collaborator

See comments on above pull request that I ended up closing. This warning is benign, I'm going to leave the directive in the config.

@NeoPlayer13
Copy link

Comment / Remove the line so-rcvbuf: 1m in unbound conf file to resolve the issue.

This works if you are not interested in using DNSSEC, if you add the line auto-trust-anchor-file to the pi-hole.conf file, the container runs normally the first time you run it, it shows the error once or twice then just skips it and starts to run normally, but after a reboot it would get stuck showing the error in a loop.
In this instance this error loop disables completely all the unbound capabilities.

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

Successfully merging a pull request may close this issue.

6 participants