Package: libpam-modules Version: 1.5.3-7 $ ulimit -n; ulimit -n -H 1024 4096
The soft limit has some merit, since some (old) programs still cannot handle file descriptors about 1024. On the other hand, I see no reason to keep the hard limit that low: if a program changes the limit, it probably knows what it's doing, and a few thousand file descriptors should not be prohibitive on a modern system, even an SBC. Please consider increasing the default nfile hard limit. 16384 should be a fine value for most setups, but you might consider going the full way up to 65535. -- Juliusz Chroboczek