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

Josef Drexler josef at ttdpatch.net
Sun Oct 4 09:35:44 UTC 2009


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

-- 
Josef Drexler
josef at ttdpatch.net



More information about the Libtorrent-devel mailing list