Troubleshooting: warning: so-sndbuf 4194304 was not granted

Gil Levy just.gil at gmail.com
Thu Oct 22 10:24:07 UTC 2020


Hi there,

Hope everyone is doing well these days.

Using unbound 1.9.0. My config file has
so-dnbuf = 4m
so-rcvbuf = 4m

When I type #: unbound
I get these warnings:
---






*[1603203700] unbound[4853:0] warning: so-rcvbuf 4194304 was not granted.
Got 360448. To fix: start with root permissions(linux) or sysctl bigger
net.core.rmem_max(linux) or kern.ipc.maxsockbuf(bsd) values.[1603203700]
unbound[4853:0] warning: so-sndbuf 4194304 was not granted. Got 360448. To
fix: start with root permissions(linux) or sysctl bigger
net.core.wmem_max(linux) or kern.ipc.maxsockbuf(bsd) values.[1603203700]
unbound[4853:0] error: can't bind socket: Address already in use for
127.0.0.1 port 5335[1603203700] unbound[4853:0] fatal error: could not open
ports*
---

Any idea why this should start with a root permission? Shouldn't the system
allocate the RAM during boot?


Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20201022/71c0d029/attachment.htm>


More information about the Unbound-users mailing list