Date: Tue, 27 Dec 2022 20:39:47 +0100 From: Mathias Picker <Mathias.Picker@virtual-earth.de> To: freebsd-jail@FreeBSD.org Subject: debian jail, setting max open files soft limit does not work Message-ID: <86sfh0pquo.fsf@virtual-earth.de>
next in thread | raw e-mail | index | archive | help
Hi all, I=E2=80=99ve set up a jail on 13.1 running debian stretch, and now a=20 triplestore needing many openfiles for a data import. Since on Linux the soft limit is pretty hard :) I need to set the=20 soft limit. I=E2=80=99ve edited /etc/security/limits.conf to set soft and hard limit=20 to 20000 (just to check), but after login the soft limit stays at=20 1024. Using prlimit I can change the limits of a running process, but=20 that is not passed on to subprocesses, which the app creates=20 constantly for import, there, the soft limit returns to 1024 :( Running prlimit --nofile 20000 or prlimit --nofile 20000:20000=20 does not work, either, the soft limit stays at 1024, and the=20 import fails. Does anyone know a way to change the soft limit permenantly? Thanks, 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?86sfh0pquo.fsf>