[Libtorrent-devel] crashes at open file limit

Hatta hatta00 at fastmail.fm
Sun Aug 31 16:31:30 UTC 2008


I seed a large number of low activity torrents, so I need a lot of files 
open
at the same time.  I've experienced instability with rtorrent when I get 
close
to the limit.

I've noticed a few different behaviors.  If the limit in rtorrent.rc is 
low, like 256,
it'll crash really quickly.  If the limit is large, like 4096, it's 
mostly stable until I
close rtorrent, then it crashes.  If the limit is very high, above the 
ulimit, then
rtorrent is quite stable, it just keep the torrents it can't open as 
[closed].

When rtorrent crashes, it messes up my terminal so I don't have any output
for you, is there a way to redirect that output?

I'm running 0.11.9/0.79 on Debian Sid.  I tried updateing to 0.12.2/0.82 but
for some reason it didn't recognize all of the torrents I was seeding, 
and overwrote
some of them with blank files.  That's probably connected hitting the 
open file
limit too, I think.

Should I just crank the limit way up to something like 65335 and hope 
that's enough?
Is that going to be a problem for the rest of my system?  I'd appreciate 
any advice.
-Hatta


More information about the Libtorrent-devel mailing list