Date: Wed, 8 Oct 2025 10:15:13 -0300 From: Jose Luis Duran <jlduran@gmail.com> To: Gleb Smirnoff <glebius@freebsd.org> Cc: Cy Schubert <Cy.Schubert@cschubert.com>, jlduran+freebsd@freebsd.org, Cy Schubert <cy@freebsd.org>, src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: b2efd602aea8 - main - unbound: Vendor import 1.24.0 Message-ID: <CAPwQLcf1ZaixyGrpBno6Wra4BEuUfCcLu9E5j_RXNVKjtGOKeA@mail.gmail.com> In-Reply-To: <aOX2bQWnbv2joHbk@cell.glebi.us> References: <202510071524.597FOTr3063628@gitrepo.freebsd.org> <CAPwQLcep1-Pt4P1QHiJpnZrMXXicG5Bc_tpxa6MtjVZT%2BvpJmg@mail.gmail.com> <20251007221221.22BCC29E@slippy.cwsent.com> <20251007230048.64C8F39B@slippy.cwsent.com> <CAPwQLcd8cuttgT4tYcExcQraWYisRECfe49_XkCyvrZ3pW=ZDw@mail.gmail.com> <aOX2bQWnbv2joHbk@cell.glebi.us>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 8, 2025 at 2:28=E2=80=AFAM Gleb Smirnoff <glebius@freebsd.org> = wrote: > > On Tue, Oct 07, 2025 at 09:44:42PM -0300, Jose Luis Duran wrote: > J> Here is the warning on a fresh VM with 8GB: > J> > J> # sysctl hw.physmem > J> hw.physmem: 8551202816 > J> # service local_unbound onestart > J> Starting local_unbound. > J> [1759883902] local-unbound[3237:0] warning: setsockopt(..., > J> SO_SNDBUF, ...) was not granted: No buffer space available > J> [1759883902] local-unbound[3237:0] warning: so-sndbuf 4194304 was > J> not granted. Got 9216. To fix: start with root permissions(linux) or > J> sysctl bigger net.core.wmem_max(linux) or kern.ipc.maxsockbuf(bsd) > J> values. or set so-sndbuf: 0 (use system value). > > Why would local-unbound want such a big send buffer? Doesn't make sense > to me. Thank you for the quick fix/workaround. I think it is worth opening a ticket, as it indeed does not make sense, let's say I want to use the port dns/unbound, on a very busy server, and want to bump the so-sndbuf to 8m. It'll be very interesting to set net.inet.udp.maxdgram=3D8388608 in order to appease the warnings. > -- > Gleb Smirnoff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPwQLcf1ZaixyGrpBno6Wra4BEuUfCcLu9E5j_RXNVKjtGOKeA>