debian jail, setting max open files soft limit does not work
Date: Tue, 27 Dec 2022 19:39:47 UTC
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. Since on Linux the soft limit is pretty hard :) I need to set the soft limit. I’ve edited /etc/security/limits.conf to set soft and hard limit to 20000 (just to check), but after login the soft limit stays at 1024. Using prlimit I can change the limits of a running process, but that is not passed on to subprocesses, which the app creates constantly for import, there, the soft limit returns to 1024 :( 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? Thanks, 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