On Mon, Apr 25, 2022 at 07:47:37PM -0000, Stuart Henderson wrote:
> On 2022-04-25, Daniel Schuermann <[email protected]> wrote:
> > I can't get transmission (bittorrent client) to work properly.  
> >
> > From the logs: 
> > transmission-daemon: UDP Failed to set receive buffer: 
> > requested 4194304, got 41600
> >
> > On Linux I would do: 
> > sysctl net.core.rmem_max=4194304
> > I couldn't figure out the correct settings for OpenBSD. 
> >
> > net.inet.udp.recvspace sets the default, not the max buffer size, 
> > e.g. sysctl net.inet.udp.recvspace=4194304 causes errors:
> > nslookup openbsd.org
> > nslookup: isc_socket_create: not enough free resources
> 
> That is the right sysctl, the alternative is to set per-socket with
> setsockopt() (SO_SNDBUF, SO_RCVBUF).
> 
> The max is 256K (262144).

Looking through upstream's problem tracker, I see that this is a design
requirement of uTP and that the message, while appearing to be an error,
is informational; uTP will still operate.

https://trac.transmissionbt.com/ticket/4321

https://trac.transmissionbt.com/ticket/5317

Reply via email to