Re: debian jail, setting max open files soft limit does not work
- In reply to: Mateusz Guzik : "Re: debian jail, setting max open files soft limit does not work"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 28 Dec 2022 08:22:04 UTC
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 3943