Project

General

Profile

Actions

Bug #2437

closed

rtorrent crashes with large number of connections

Added by Anonymous over 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/21/2012
Due date:
% Done:

0%

Estimated time:

Description

When I build libtorrent from pkgsrc with kqueue support, it crashes quickly if there are a large number of connections (doesn't happen with select polling). The error message is "PollKQueue::modify() error: Bad file descriptor". After some Googling, I found this FreeBSD patch which fixes the problem in my limited testing so far:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/net-p2p/libtorrent/files/patch-src_torrent_poll__kqueue.cc

Can someone get this into pkgsrc for DF?

Actions

Also available in: Atom PDF