chriscrowe / docker-pihole-unbound

Run Pi-Hole + Unbound on Docker
1.05k stars 274 forks source link

Disable so-rcvbuf custom value #166

Closed xaabi6 closed 1 year ago

xaabi6 commented 1 year ago

Using the default value from the OS is most of the time enough for a normal operation.

This removes an Unbound warning that complains about not having the requested 1m or more for kernel buffering:

unbound[288: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.

I would like to thank @MatthewVance for his great explanation which motivated this PR.

Fixes #158

xaabi6 commented 1 year ago

Thanks for the review @burnbabyburn, I've just included the extra information you provided so the comment is more helpful.