Bug #2437

rtorrent crashes with large number of connections

Added by t_dfbsd 7 months ago. Updated 7 months ago.

Status:Feedback Start date:10/21/2012
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

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?


Related todos

History

Updated by sjg 7 months ago

  • Status changed from New to Feedback

The FreeBSD patch looks like a work-around, not a fix.

Updated by t_dfbsd 7 months ago

I think you're right, but it's an improvement and I don't know what a real fix would be.

Also available in: Atom PDF