在我的unbound.conf文件中,我设置了以下内容:
确保内核缓冲区足够大,不会丢失流量峰值中的消息。
so-rcvbuf: 4m
so-sndbuf: 4m
当我运行命令unbound时,会收到以下警告
[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(bs
我读过医生:
但无法找到配置正确的沙箱的方法,也无法在我的系统上找到脚本update-linux-sandbox.sh。
我找到它了,
但我明白:
$ ./update-linux-sandbox.sh
/tmp/../out/Debug does not exist. Use "BUILDTYPE=Release ./update-linux-sandbox.sh" If you are building in Release mode
$ BUILDTYPE=Release ./update-linux-sandbox.sh
/tmp/../out/Release