bittorrent consuming 100% cpu

Andy Greenwood greenwood.andy at gmail.com
Tue Oct 17 12:01:12 UTC 2006


I'd recommend transmission. You can get the source from
http://transmission.m0k.org/. You can configure it for console use
with

./configure --disable-gtk && gmake. It needs GNU make, BSD make won't
work. Uses very little resources as it's written in C, so your python
port won't matter.

On 10/16/06, Matthew Rench <lists at pelennor.net> wrote:
> Hello,
>
> Due to the recent security advisor, I upgraded my python port. Foolishly,
> I managed to upgrade from version 2.4 to 2.5, which forced me to also upgrade
> my bittorrent port (from version 3.x to 4.20.2_1,1). Unfortunately, I now
> find that the bittorrent console app (/usr/local/bin/bittorrent-console)
> now consumes 100% of my CPU, according to top. I am quite sure that even
> 5-10 instances of the previous version did not together use this much CPU.
>
> So, I ktrace'd a running copy of bittorrent, and found the following,
> repeated more or less continually:
>
> 493 python   1161045605.243985 CALL  poll(0x8138000,0x5,0xe)
> 493 python   1161045605.272699 RET   poll 0
> 493 python   1161045605.272750 CALL  gettimeofday(0x281dd788,0)
> 493 python   1161045605.272783 RET   gettimeofday 0
> 493 python   1161045605.273029 CALL  gettimeofday(0xbfbfec94,0)
> 493 python   1161045605.273097 RET   gettimeofday 0
> 493 python   1161045605.273865 CALL  gettimeofday(0xbfbfdf34,0)
> 493 python   1161045605.273955 RET   gettimeofday 0
> 493 python   1161045605.274837 CALL  gettimeofday(0xbfbfe014,0)
> 493 python   1161045605.274920 RET   gettimeofday 0
> 493 python   1161045605.275304 CALL  gettimeofday(0xbfbfdd14,0)
> 493 python   1161045605.275375 RET   gettimeofday 0
> 493 python   1161045605.276452 CALL  gettimeofday(0xbfbfec94,0)
> 493 python   1161045605.276543 RET   gettimeofday 0
> 493 python   1161045605.276758 CALL  poll(0x87ede20,0x3,0)
> 493 python   1161045605.276845 RET   poll 0
> 493 python   1161045605.276909 CALL  poll(0x8138000,0x4,0)
> 493 python   1161045605.276956 RET   poll 0
> 493 python   1161045605.276998 CALL  poll(0x8138000,0x5,0x14)
> 493 python   1161045605.302720 RET   poll 0
>
> Since I don't know much about python, I'm at a loss to explain this. Has
> anyone else had similar issues with newer versions of bittorrent? Is there
> a different client I should be using?
>
> mdr
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


-- 
I'm nerdy in the extreme and whiter than sour cream


More information about the freebsd-questions mailing list