NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/60325: unbound emits warning: so-sndbuf 4194304 was not granted
The following reply was made to PR bin/60325; it has been noted by GNATS.
From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: bin/60325: unbound emits warning: so-sndbuf 4194304 was not granted
Date: Fri, 12 Jun 2026 19:48:48 -0000 (UTC)
gnats-admin%NetBSD.org@localhost ("roy%marples.name@localhost via gnats") writes:
>warning: so-sndbuf 4194304 was not granted. Got 9216. To fix: s
>tart with root permissions(linux) or sysctl bigger net.core.wmem_max(linux) or kern.ipc.maxs
>ockbuf(bsd) values. or set so-sndbuf: 0 (use system value).
No idea why unbound even tries to set the sndbuf.
There is no direct equivalent of net.core.wmem_max, but the value that
it "got" and probably wants to override is net.inet.udp.sendspace.
That however is
/*
* For send - really max datagram size; for receive - 40 1K datagrams.
*/
static int udp_sendspace = 9216;
static int udp_recvspace = 40 * (1024 + sizeof(struct sockaddr_in));
A program should not assume that there is a deep write buffer for UDP.
Home |
Main Index |
Thread Index |
Old Index