rTorrent problem: File chunk read error: Too many open files

dsouvik215

Member
May 25, 2018
896
0
16
Hi all -- new to the site. Setting up my first dedicated seedbox after I outgrew my shared seedbox provider. Before I worry about ruTorrent, I'm trying to get rTorrent itself working reliably.

I have rTorrent 0.9.2/libTorrent 0.13.2 set up and working, but am getting a persistent error in the logs:

"File chunk read error: Too many open files"

However, I have:

network.max_open_files.set = 1024

in my rctorrent.rc file. From rtorrent, I can see the max number of files is around 800 - 850 and never goes over 900, so I don't think I'm hitting the 1024 limit.

Additionally, I've set the limits via ulimit:

ulimit -Hn = 4096
ulimit -Sn = 4096

so I'm a bit puzzled as to what could be causing this error message.

Any help appreciated.
 

dsouvik215

Member
May 25, 2018
896
0
16
Thanks for the reply. I should have mentioned I'd already checked that via sysctl.

Code:
klieber@lion:~$ cat /proc/sys/fs/file-max
774116