For testing purposes i even raised root's limit. # /etc/security/limits.conf    *       soft    nofile         65535    *       hard    nofile         65535    root       soft    nofile         65535    root       hard    nofile         65535rtorrent process is run by user user.user@localhost:~$ ulimit -n65535But when i look up rtorrent's maximum number of open files:user@localhost:~$ cat /proc/1141/limitsLimit                     Soft Limit           Hard Limit           UnitsMax cpu time              unlimited            unlimited            secondsMax file size             unlimited            unlimited            bytesMax data size             unlimited            unlimited            bytesMax stack size            8388608              unlimited            bytesMax core file size        0                    unlimited            bytesMax resident set          unlimited            unlimited            bytesMax processes             15700                15700                processesMax open files            1024                 4096                 filesMax locked memory         65536                65536                bytesMax address space         unlimited            unlimited            bytesMax file locks            unlimited            unlimited            locksMax pending signals       15700                15700                signalsMax msgqueue size         819200               819200               bytesMax nice priority         0                    0Max realtime priority     0                    0Max realtime timeout      unlimited            unlimited            usI'm running Debian 9.1 Stretch.The max_open_files limit in .rtorrent.rc config is also set.I rebooted after the changes. Any idea why ?Thanks for your answers!EDIT: Looks like screen is the reason. If i start rtorrent without screen, everthing is fine. Any idea why ?
Debian 9.1 - system is ignoring ulimit for maximum open files for rtorrent
debian;ulimit;rtorrent