Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: [Fwd: Re: net/i2pd: move login.conf(5) bits from README to i2pd.login]
To:
beecdaddict@danwin1210.de
Cc:
openbsd@systemfailure.net, ports@openbsd.org
Date:
Tue, 30 Jan 2024 11:23:41 +0000

Download raw body.

Thread
On 2024/01/30 10:53, beecdaddict@danwin1210.de wrote:
> I see the confusion I made I am sorry, when I said routers crash I meant
> actual ISP hardware routers.

For an ISP "customer premises equipment" router (home/officr router)?
That often means you made too many connections and exceeded the size of
NAT/firewall state table that they can cope with. Also for ISPs with
CGN, you might have a limited port-range that you're allowed to use and
can't make more connections once that has been exceeded.

> like I asked and no one answered: where can I check HARD LIMIT of my computer?

you can't really. you can try increasing until you run into problems and
back off a bit, but it probably depends on what else the kernel is
doing. usual approach is to restrict the software to using the resources
that you expect it to actually need and restrict it from making more
demands than that to orotect the rest of the system.

> what it depends on, on CPU? where is utility that shows max FDs, and
> per-running-process FD usage and their max setting?
> if this does not exist, I think why not?
> I think if user has to manually set FD limits and know potential of programs
> and OpenBSD and hardware, where is utility to help with that? I did search on
> the internet, all shit..

fstat shows per-process FD use, but the kernel backend for it is a bit
buggy and can sometimes crash the kernel, so it is best to avoid running
it on an important system.