From nobody Wed Oct 08 13:15:13 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 4chYQq2lnlz69V30 for ; Wed, 08 Oct 2025 13:15:31 +0000 (UTC) (envelope-from jlduran@gmail.com) Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4chYQq0tcrz45Lp for ; Wed, 08 Oct 2025 13:15:31 +0000 (UTC) (envelope-from jlduran@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qk1-x734.google.com with SMTP id af79cd13be357-858324954eeso164667785a.3 for ; Wed, 08 Oct 2025 06:15:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759929325; x=1760534125; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4ge7LB/MUECqsTEua6trM7QKoybU6h3WI9YJpWW9mLM=; b=dTOiE+4LixODC8t6Ro9xg++4Q3bIT41tiyO5VcvwW6pjPuYdcTstISaa6L8Pp6rwdS oNEcxSaDjXgWHx+aC5JpsEbBG+RwQrXVgVKpfLfo9N0vbmoXLDIhRRTHCz3TXrFVxaDW xm9oLZVq1K3cmTtAQUXoZvZaNaxiJRWPIJ4aFslD/dhrcIOxdTkjwXxf+ZupyC7BTd7J nKZFI9H/Uj1F25fFVarJFZVzsomLlg0GeZuN+ZowScfR9cUOBRnP+DYW2SGMuLmpcpDN KuRDWq3Dw2sSRnogp2Cu5UXdsUpAyIMxlmlJ2faYMfNwKsKf3qvMyPnhiVsjzMAB8TQ7 J09w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759929325; x=1760534125; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4ge7LB/MUECqsTEua6trM7QKoybU6h3WI9YJpWW9mLM=; b=t6gBwad+tU+k8AVkQsk9GYuSy/xjMDqArY6cHkHYu+KJ8fosPX/0z6yTk45FJJJfdR QTTOG8tSbJVYuA4njDqTUcWJZE56aP44Id7c03ivzydptL7Skkt0x2dymPIovfzM6vrH 3SCOTQB0LB0OdPdW/H2ra7xsdZlXyn1YaiJHmr9hfACo9c6dxQP99MLIprWTtv64Gk5n a+L/QBdjOaHBfY5fBHhNhwiTdPMd/UdX+qzvP6K0h917XReQ8XBiSp/thr1jpIz76xwN E1DJEQgG5KaPJ71mIx/ZgNymzFFNe9RiG0Tq0Q8R2DPcsti5LXqoGaCm5gUwpwjLcdWt XESA== X-Forwarded-Encrypted: i=1; AJvYcCX656Z2JwDTLgwH+C3PH2zUMgLGQh+BRvND614SJovyw4BHxL8Y9IFA8McQesf0UD739pCHZaIaBbX8jNSs3T+fQBOUKg==@freebsd.org X-Gm-Message-State: AOJu0YzWwwGBYgycCWw2qGvGGpItBMyVrWiRSJ1wNSae4B+zMaCQN5N1 wSFocQH4YNVLcf/H2KV+PTo/rqPihFEyPE+JUnidVY6SHvHXJTsi0CGO3G7dt6Ueo9xxLljA8Dp 8dCXRDng3jNcXSuMeEDnijVMTdIEVJDU= X-Gm-Gg: ASbGncsKaUf8AcD6o2vHYQ5SffHNcl4lfC3xzElGiOQuLdYrVlgE5HhC9Q7eF10ExCZ rr8Dnu8eobFIDcISNjlDswS4l0cHvo2UkyZczHgcrUaYchTGSst6JFOs6miHq9nyD5XV9ayt+Ff 2NmI9Q27YcHyJzawktBRjgjWOibVPYZo/POkWoJ0QUSCu6dJnMzeGiIubDFl90tEd05A6v+eZe8 uvRysRiA+jQMJh+cekItRhc2MDJjba1coVXM++LKw== X-Google-Smtp-Source: AGHT+IFePCeasUegpg5Zc7IdnDOEyjhxTo7k47GPJUupI/1u5sK9qB010a6hcwAygNP2NKDX8pJj1VjHCM+01QC1amo= X-Received: by 2002:a05:620a:2681:b0:855:b82a:eba5 with SMTP id af79cd13be357-8834ff907a4mr321563285a.2.1759929325108; Wed, 08 Oct 2025 06:15:25 -0700 (PDT) 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 References: <202510071524.597FOTr3063628@gitrepo.freebsd.org> <20251007221221.22BCC29E@slippy.cwsent.com> <20251007230048.64C8F39B@slippy.cwsent.com> In-Reply-To: From: Jose Luis Duran Date: Wed, 8 Oct 2025 10:15:13 -0300 X-Gm-Features: AS18NWBwoJuxzAo-g7zpenrq190-yq76GA9Hj4z_AdQNI0AzdQ1l-bqlo-R0h8U Message-ID: Subject: Re: git: b2efd602aea8 - main - unbound: Vendor import 1.24.0 To: Gleb Smirnoff Cc: Cy Schubert , jlduran+freebsd@freebsd.org, Cy Schubert , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[freebsd]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4chYQq0tcrz45Lp On Wed, Oct 8, 2025 at 2:28=E2=80=AFAM Gleb Smirnoff = 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