Date: Mon, 16 Oct 2006 19:44:01 -0500 From: Matthew Rench <lists@pelennor.net> To: freebsd-questions@freebsd.org Subject: bittorrent consuming 100% cpu Message-ID: <20061017004401.GA430@gandalf.pelennor.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061017004401.GA430>