![]() Registered Member ![]()
|
KTorrent has always worked well for me. However, just recently it started to lag tremendously. So much so that it wouldn't respond and I could only close it by killing the process. Normally, it can handle many torrents at once, but I added a 7GB torrent to it and it started lagging at roughly the same time. At first I thought it was that torrent that was messing it up, but the lag occurs even if that torrent is paused. In fact, there's a visible lag even with all but three torrents paused!
KTorrent is usually light on my CPU, however now even when all the torrents are paused it regularly uses 10% of the CPU! Normally it uses less than 1% even with all torrents running at once! It doesn't seem to slow the computer down though, only the GUI is slow. I tried setting the maximum number of connections to peers to three per torrent, but it STILL used ~10% CPU and was STILL horribly unresponsive. For some reason only the GUI seems to be slow, because I'm still getting a relatively high upload speed. The network usage seems to "pulse" however, and it goes up to about 250 KB/s about eight seconds and then goes down to 1-5 KB/s for about five seconds. How can I fix this? I really need it to work again soon. EDIT: I think I may have found out what is happening, although not why. I think it has something to do with the GUI updating. When I set the GUI update interval to five seconds instead of one second, and it seemed to work (for five seconds). I could move my mouse over the torrents and they'd highlight like they should and the program was responsive, but as soon as the five seconds elapsed and the GUI tried to update it froze for about 10-30 seconds, then responded for five, etc. So for some reason something is interfering with the GUI updating. I don't think I changed any of the settings to make it hard to update the GUI, but it's still not working for me. |
![]() Moderator ![]()
|
Version ? Can you send me that 7 GB torrent ?
|
![]() Registered Member ![]()
|
Version:
Torrent: https://thepiratebay.se/torrent/7312169 ... image_dump (yeah...) |
![]() Moderator ![]()
|
How many torrents do you have in ktorrent ? Are there torrents with many files ?
I'm not seeing any GUI lag. Do the following, when the GUI is lagging killall -11 ktorrent This will generate a crash and the KDE crash dialog will appear, generate a backtrace with it, and post that here. |
![]() Registered Member ![]()
|
I have 30 torrents. Not long before I created the GUROchan image dump torrent, I was seeding another version of it that wasn't in a 7z archive. It had exactly 37,692 image files. I switched to a single 7z file because TPB didn't support such a large .torrent file. Currently the torrent with the most files is a collection of music from Studio Ghibli films. The torrent has 3,720 files in 552 sub-directories and takes up a total of 14.9 GB. However I only rarely get peers with that torrent because it's hosted on a private tracker, so I don't think it is causing problems. Do the files in ~/.kde/share/apps/ktorrent contain any personal information? I uploaded them to BayFiles (http://bayfiles.com/file/cc7n/xnEla5/torrents.7z), so I could PM you with the password to open it and it might give you an idea about the exact state of my torrents. If it contains too much personal info (my IP, private tracker keys, etc) then I don't want to post it publicly. As for the backtrace, the crash dialog said there wasn't enough information collected to do that. I didn't see any option to collect the info though. |
![]() Moderator ![]()
|
Only private tracker keys, no other personal information is stored.
You need to install debug packages for ktorrent, libktorrent, kdelibs and Qt, to get good backtraces |
![]() Registered Member ![]()
|
So it would be fine to post the password? Or are private tracker keys sensitive to theft or anything?
Here's the backtrace: http://bayfiles.com/file/ctZl/Iz7SIw/ktorrent-20120608-123040.kcrash |
![]() Moderator ![]()
|
If you give me your private torrents, everything I download or upload for those torrents, will be registered under your account on the private tracker.
The GUI thread is just doing nothing in this backtrace, it's just waiting for something to happen..The killall must have been done to late. |
![]() Registered Member ![]()
|
I think I might have found the problem (or at least part of it). The number of visible lines for the log was set too high (somewhere in the thousands). I set it to 100 and KTorrent seems to be about 50% more responsive, though it's still rather slow.
|
![]() Registered Member ![]()
|
KTorrent
Version 4.3.0 Unter KDE 4.9.2 "release 511" The GUI freezes, mostly on startup. It works, but it is annoying. Where can I change the log options? |
Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]