Open wlerin opened 7 years ago
What makes you think your ulimits even allow that many handles?
I'm fairly certain they do
$ ulimit -n
100000
It also doesn't seem to be seeding much of anything now, but that could just be temporary.
If you start via systemd, that value is not relevant fyi.
I'm currently not starting it via systemd, but instead running it via byobu to keep it persistent and interactable.
I'm having two possibly related problems with rtorrent. They just started this week after years of continuous use (and it's been some time since I updated anything).
The first and most serious is a crash:
This has happened multiple times, with the error always being identical. I've googled this a fair bit but nothing remotely informative comes up.
Second, and as stated possibly related, I initially had
network.max_open_files
set to 10000, and that was just barely enough. After either the above crash or the one below, however, rtorrent immediately rose to 10000 on opening. So I bumped it up to 15000, and open files rose a little above 10000 before I stopped paying attention.After crashing again, it immediately rose to 15000. I've now raised it to 50000 and it's sitting comfortably at 16640/50000, but I really don't think I have that many files active (I have about 65 torrents with 60~100 files each, plus ~390 other mostly single-file torrents, so while 10000 was believable, this looks like a bug). Is it possible open file descriptors could be preserved across a crash, so when it reopens they get duplicated?
Finally, the only recent change I can think of that might have triggered this: A few days ago I tried seeding a very large torrent from a mounted cloud drive, and after some hours of working passably I hit quota and this crash occurred:
The above only started happening after this event. I've since removed the offending torrent.
It also bears mentioning that I'm actually using rtorrent-ps rather than straight rtorrent.