[Libtorrent-devel] rTorrent crashes with many torrent-files (fbsd7.2, zfs, amd64)

Vladislav V. Prodan universite at ukr.net
Sun Oct 4 13:19:00 UTC 2009

Josef Drexler wrote:
> On Oct 4, 2009, at 1:06 AM, Jakob Breivik Grimstveit wrote:
>> When adding a torrent (dropping a torrent file in watch folder), it
>> sometimes crashes with the following error:

>>     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.

More information about the Libtorrent-devel mailing list