Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2022 09:22:04 +0100
From:      Mathias Picker <Mathias.Picker@virtual-earth.de>
To:        Mateusz Guzik <mjguzik@gmail.com>
Cc:        freebsd-jail@freebsd.org
Subject:   Re: debian jail, setting max open files soft limit does not work
Message-ID:  <86o7roos0c.fsf@virtual-earth.de>
In-Reply-To: <CAGudoHFyUp-FXkk-1DC3LSS4tPOZUjVL3kPQERvEmidAFO0%2BDw@mail.gmail.com>
References:  <86sfh0pquo.fsf@virtual-earth.de> <CAGudoHFyUp-FXkk-1DC3LSS4tPOZUjVL3kPQERvEmidAFO0%2BDw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Mateusz,

Mateusz Guzik <mjguzik@gmail.com> writes:

> On 12/27/22, Mathias Picker <Mathias.Picker@virtual-earth.de>=20
> wrote:
>> Hi all,
>>
>> I=E2=80=99ve set up a jail on 13.1 running debian stretch, and now a
>> triplestore needing many openfiles for a data import.
[snip]
>> Running prlimit --nofile 20000 or prlimit --nofile 20000:20000
>> does not work, either, the soft limit stays at 1024, and the
>> import fails.
>>
>> Does anyone know a way to change the soft limit permenantly?
>
> kernel code is buggy here, from a quick read you should be able=20
> to
> work around it by:
>
> sysctl compat.linux.default_openfiles=3D-1

this worked just fine!!! :)

Thanks a lot,

Mathias

--=20
Mathias Picker=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
Gesch=C3=A4ftsf=C3=BChrer
Mathias.Picker@virtual-earth.de

virtual earth Gesellschaft f=C3=BCr Wissens re/pr=C3=A4 sentation mbH
http://www.virtual-earth.de/           HRB126870
support@virtual-earth.de               Westendstr. 142
089 / 1250 3943=20=20=20=20=20=20=20=20=20=20=20=20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86o7roos0c.fsf>