Index | Thread | Search

From:
beecdaddict@danwin1210.de
Subject:
Re: net/i2pd: move login.conf(5) bits from README to i2pd.login
To:
ports@openbsd.org
Date:
Sun, 28 Jan 2024 19:46:38 -0000

Download raw body.

Thread
can we stop thinking of 4096 because i2pd software routers can automatically
become floodfilles so is 8192 at lowest, this is future-proof

and other replies I sent should indicate possibly much more, no one answered
yet, I do not understand OpenBSD well but something tells me each record of a
i2pd software router has it's own file descriptor, I did some programming in
past so this makes sense to me am I wrong?

On Sun, January 28, 2024 6:15 pm, Stuart Henderson wrote:
> On 2024/01/27 21:54, openbsd@systemfailure.net wrote:
>
>> According to i2pd's online documentation [1], the maximum number of open
>> file descriptors is 4096 for a regular node, and 8192 for a floodfill [2].
>>
>> I have never measured how many FDs i2pd is really using, but this software
>> for sure needs a lot of them.
>>
>> So I guess we can set 4096 as default value, and inform users in the README
>> file that this value should be raised to 8192 for floodfills.
>
> 4096 doesn't seem too unreasonable, it's below default levels of
> kern.maxfiles, so if that's enough for the software I'd be happy with setting
> that in a login.conf.d file.
>
>