[Libtorrent-devel] rTorrent crashes with many
torrent-files (fbsd7.2, zfs, amd64)
Josef Drexler
josef at ttdpatch.net
Sun Oct 4 14:10:09 UTC 2009
On Oct 4, 2009, at 3:19 PM, Vladislav V. Prodan wrote:
> Josef Drexler wrote:
>> On Oct 4, 2009, at 1:06 AM, Jakob Breivik Grimstveit wrote:
>>> rtorrent: PollKQueue::modify() error: Bad file descriptor
>
>> See ticket 1581: http://libtorrent.rakshasa.no/ticket/1581
>
>> There's a discussion of the bug and near the end there's a patch that
>> seems to be working. Alternatively limit rtorrent to open no more
>> than
>> about 500 filehandles (counting both files and sockets).
>
> I believe that this patch does not always help.
> Bottleneck - curl, which takes the system limits on sockets and files.
Possible, though libcurl shouldn't use more than one socket per HTTP
connection, and you can limit those with the max_open_http directive.
If libcurl doesn't properly close its sockets or something, try a
different version.
--
Josef Drexler
josef at ttdpatch.net
More information about the Libtorrent-devel
mailing list