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>
index | next in thread | previous in thread | raw e-mail
Hi Mateusz, Mateusz Guzik <mjguzik@gmail.com> writes: > On 12/27/22, Mathias Picker <Mathias.Picker@virtual-earth.de> > wrote: >> Hi all, >> >> I’ve 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 > to > work around it by: > > sysctl compat.linux.default_openfiles=-1 this worked just fine!!! :) Thanks a lot, Mathias -- Mathias Picker Geschäftsführer Mathias.Picker@virtual-earth.de virtual earth Gesellschaft für Wissens re/prä sentation mbH http://www.virtual-earth.de/ HRB126870 support@virtual-earth.de Westendstr. 142 089 / 1250 3943home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86o7roos0c.fsf>
