trinib / AdGuard-WireGuard-Unbound-DNScrypt

Linux ultimate self-hosted network security guide ║ Linux 终极自托管网络安全指南 ║ Guía definitiva de seguridad de red autohospedada de Linux ║ लिनक्स परम स्व-होस्टेड नेटवर्क सुरक्षा गाइड ║ Окончательное руководство по безопасности собственной сети Linux
MIT License
729 stars 58 forks source link

Got error about Unbound (so-rcvbuf and so-sendbuf) #45

Closed yusi1 closed 2 years ago

yusi1 commented 2 years ago
Jun 03 04:29:01 instance-1 unbound[12631]: [1654230541] unbound[12631:0] warning: so-sndbuf 4194304 was not granted. Got 425984. To fix: start with root permissions(linux) or sysctl bigger net.core.wmem_max(linux) or kern.ipc.maxsockbuf(...
Jun 03 04:29:01 instance-1 unbound[12631]: [1654230541] unbound[12631:0] warning: so-rcvbuf 4194304 was not granted. Got 425984. To fix: start with root permissions(linux) or sysctl bigger net.core.rmem_max(linux) or kern.ipc.maxsockbuf(...
Jun 03 04:29:01 instance-1 unbound[12631]: [1654230541] unbound[12631:0] warning: so-sndbuf 4194304 was not granted. Got 425984. To fix: start with root permissions(linux) or sysctl bigger net.core.wmem_max(linux) or kern.ipc.maxsockbuf(...

It doesn't cause any issue though just it seems like something is going on.

welcome[bot] commented 2 years ago

Thanks for opening your first issue here 🙋🕵️

yusi1 commented 2 years ago

I believe these two config options are related:

        # Ensure kernel buffer is large enough to not lose messages in traffix spikes
    so-rcvbuf: 4m
        so-sndbuf: 4m
yusi1 commented 2 years ago

But could someone who knows more about this check this issue out?

trinib commented 2 years ago

@yusi1 fix : https://github.com/trinib/AdGuard-WireGuard-Unbound-Cloudflare/issues/32#issue-1235970778

yusi1 commented 2 years ago

Thanks!