[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-misc
Subject:    Re: Sysctl settings for transmission bittorrent (udp receive buffer size)
From:       Josh Grosse <josh () jggimi ! net>
Date:       2022-04-26 12:18:18
Message-ID: YmfjCgKUDauPsD6F () fw2 ! jggimi ! net
[Download RAW message or body]

On Mon, Apr 25, 2022 at 07:47:37PM -0000, Stuart Henderson wrote:
> On 2022-04-25, Daniel Schuermann <openbsd@2718282.net> 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic