FreeBSD Bugzilla – Bug 170766
High CPU load caused by net-p2p/libtorrent
Last modified: 2012-10-15 13:54:10 UTC
As noted in ports/169734 net-p2p/libtorrent ha a bug, causing it to generate a lot of CPU load on FreeBSD. The problem is easy to fix and an pull request has been send upstream: https://github.com/rakshasa/libtorrent/pull/21
Fix: As said above, a pull request has been send upstream: https://github.com/rakshasa/libtorrent/pull/21 I request to add the attached patch (exatly the same change as in the pull request) to net-p2p/libtorrent until the problem is solved upstream.
Patch attached with submission follows:
How-To-Repeat: Use a consumer of net-p2p/libtorrent (for example net-p2p/rtorrent) on FreeBSD. After some seconds it's CPU load will rise up to several hundred percent.
Over to maintainer (via the GNATS Auto Assign Tool)
i confirm: the patch fix the issue on FreeBSD 9.0 amd64
without it, rtorrent is unusable (200% cpu all the time).