> root@fireball / # sysctl fs.file-max > fs.file-max = 3289952 > root@fireball / # sysctl -w fs.file-max=32899520 > fs.file-max = 32899520 > root@fireball / # cat /proc/sys/fs/file-max > 32899520
On my pc the limit is 2^63. But this is max files for kernel, which is different for max files per user and max files per process. For example if I run: $ grep 'Limit\|open' /proc/$(pgrep qbittorrent | head -1)/limits Limit Soft Limit Hard Limit Units Max open files 524288 524288 files 524288 = 2^19 QBittorrent increases it's process limit to hard limit. With 10 TB of torrents it's hard to tell if it's a bug or just 500k files is not enough, I'd say it's probably the latter. It seems you can change the default hard limit in /etc/security/limits.conf For example: # 2^24, increased from 2^19 * hard nofile 16777216 Then after reloging: $ grep 'Limit\|open' /proc/$(pgrep qbittorrent | head -1)/limits Limit Soft Limit Hard Limit Units Max open files 16777216 16777216 files So this works, at least for me. Check also limits.conf man page. Regards, mmokulus

