Version: 3.2beta1 (using 4.2.00 (KDE 4.2.0) "release 82.3", KDE:KDE4:Factory:Desktop / openSUSE_11.1) Compiler: gcc OS: Linux (i686) release 2.6.27.7-9-default When network connection is not available ktorrent uses a lot of CPU. As soon as I connect to the Internet the CPU usage returns to normal, that is, the entire system goes under 10% cpu usage with ktorrent in it's 1%-2%. How to reproduce: 1) Shutdown computer with ktorrent running. 2) Start computer without WAN or LAN connected 2.1) Observe high CPU usage 3) Connect to the Internet 3.1) Observe low CPU usage (assuming nothing else is running at full throttle)
Can't reproduce, have you tried 3.2rc1 yet ?
I'll install the rc1 as soon as my Linux and wireless router start talking to each other again. This was a pretty common problem to me. So a few days using the rc1 should be enough to tell if it's still there or not. Thanks for the attention.
OK, I just had a look at the log you sent me in http://bugs.kde.org/show_bug.cgi?id=183699 And I think I know what is causing the high CPU usage.
Though I cannot seem to reproduce it
SVN commit 925142 by guisson: Fix bug causing trackers to be retried continuously when hostname can not be resolved because the network isn't up yet. BUG: 183697 BUG: 183699 M +1 -0 ChangeLog M +1 -1 libbtcore/torrent/peersourcemanager.cpp M +3 -0 libbtcore/tracker/udptracker.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=925142