Project

General

Profile

Actions

Bug #2437

closed

rtorrent crashes with large number of connections

Added by Anonymous about 12 years ago. Updated about 11 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 #1

Updated by sjg about 12 years ago

  • Status changed from New to Feedback

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

Actions #2

Updated by Anonymous about 12 years ago

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

Actions #3

Updated by Anonymous about 11 years ago

  • Description updated (diff)
  • Status changed from Feedback to Closed

The dports version of rtorrent fixes this issue, so I'm closing this ticket.

Actions #4

Updated by Anonymous about 11 years ago

Sorry, I meant to say "dports version of libtorrent".

Actions

Also available in: Atom PDF