From nobody Tue Oct 7 23:00:48 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4chBSg24Qyz6C8dR; Tue, 07 Oct 2025 23:00:51 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta003.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4chBSf6hbqz3Ppq; Tue, 07 Oct 2025 23:00:50 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTPS id 6Fd5vF5zb0ym76GfqvpusF; Tue, 07 Oct 2025 23:00:50 +0000 Received: from spqr.komquats.com ([70.66.136.217]) by cmsmtp with ESMTPSA id 6GfovcGzlJhC66GfpvMYP4; Tue, 07 Oct 2025 23:00:50 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=erF8zZpX c=1 sm=1 tr=0 ts=68e59ba2 a=h7br+8Ma+Xn9xscxy5znUg==:117 a=h7br+8Ma+Xn9xscxy5znUg==:17 a=kj9zAlcOel0A:10 a=x6icFKpwvdMA:10 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=VxmjJ2MpAAAA:8 a=YxBL1-UpAAAA:8 a=uxlWkYqG_5QOJfHO5ycA:9 a=CjuIK1q_8ugA:10 a=LK5xJRSDVpKd5WXXoEvA:22 a=7gXAzLPJhVmCkEl4_tsf:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy.cwsent.com [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 885A93D2; Tue, 07 Oct 2025 16:00:48 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 64C8F39B; Tue, 07 Oct 2025 16:00:48 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Cy Schubert cc: jlduran+freebsd@freebsd.org, Cy Schubert , 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 In-reply-to: <20251007221221.22BCC29E@slippy.cwsent.com> References: <202510071524.597FOTr3063628@gitrepo.freebsd.org> <20251007221221.22BCC29E@slippy.cwsent.com> Comments: In-reply-to Cy Schubert message dated "Tue, 07 Oct 2025 15:12:21 -0700." List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 07 Oct 2025 16:00:48 -0700 Message-Id: <20251007230048.64C8F39B@slippy.cwsent.com> X-CMAE-Envelope: MS4xfJn9T050vu2eLUsKPe0EoFmyyLl2JLRg9lVVbn3bdNOQTil2i4EZw5/IMzO1cw/oZ/XLkPHPpy7rurIlemGa37uWiVbNnPWX0YnB/h1agSD2/lIqXgIx dC3+O/habjOe2J7cf6YiLcw/hOsThVUbN/41tR9vREko4/CEKR8ZSp2ElRhZC3O5iPGuLd7PzgQ2e44XUSqmCsUel0GyvaA5BNAWXDQ8tNdLU9YL1Frlez/3 xWVPklhtxJ1hG7u0H3m66npr4gWuBeWDfxwH6bZp2a/jdKB48lXOhsOjeD2hza8AzaTOr7Y/Qj02q4yj9d+S0UfSB9wMajS6AuCtvbfhIEgD2cQ1YNVIDnw2 35YDwSQs0dne/rrb1bH2C0L1L3Qo0w== X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[freebsd]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4chBSf6hbqz3Ppq In message <20251007221221.22BCC29E@slippy.cwsent.com>, Cy Schubert writes: > In message om> > , Jose Luis Duran writes: > > Hello Cy, > > > > According to the changelog: > > > > "The default value increase for so-sndbuf is to mitigate a cross-layer > > issue where the UDP socket send buffers are exhausted waiting for > > ARP/NDP resolution. Thanks to Reflyable for the report. > > > > To help the server start more easily, the setsockopt for sndbuf buffer > > size prints a warning instead of a failure to start the server if it > > can not set the buffer size." > > > > This means so-sndbuf is now 4m. Which triggers a warning, detailed in > > upstream commit 713b5db5 ("- Fix to print warning for when so-sndbuf > > setsockopt is not granted."). > > > > I wonder if we should revert back to using "so-sndbuf: 0" as the > > default for FreeBSD? Or is there a better solution/workaround? > > There are in fact two commits. > > 1ef7b4a24 adjusted so-sndbuf to default to 4m. > > 03772d10f changed the default from to 1m. > > I assume you're suggesting reverting both upstream commits for FreeBSD? Looking at the commit that started unbound down this path we see this in their commit log before bumping the default to 4m: - Change default for so-sndbuf to 1m, to mitigate a cross-layer issue where the UDP socket send buffers are exhausted waiting for ARP/NDP resolution. Thanks to Reflyable for the report. I use local_unbound on one of my machines here. It has 8 GB RAM. I don't see any warning messages WRT the socket option not accepted. The first question that comes to mind, to try to understand your environment, how much RAM does this machine have and of that how much is allocated to the kernel? -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e**(i*pi)+1=0