Moderator
|
I have just committed protocol encryption. It is now in SVN.
To compile the code you need the GNU MP library installed. This is probably installed by default on most distributions (but the development packages probably not). In your package manager look for libgmp and libgmp-dev or something like that. You need to enable the encryption in the preference dialog (under general).
Last edited by George on Thu Aug 03, 2006 4:40 pm, edited 1 time in total.
|
Registered Member
|
|
Manager
|
|
Registered Member
|
THANKS ! |
Registered Member
|
|
Registered Member
|
Thanks George.
I will download it now and test it. Bye
Last edited by KarMax on Fri May 05, 2006 1:16 am, edited 1 time in total.
Gonzalo Martinez
Jabber: KarMax@jabber.org |
Registered Member
|
Well i downloaded and try it
Then... the BIG problem I run ktorrent 1.3dev (last svn version) with my user. The user allready have ~/.kde/share/apps/ktorrent (from my installed ktorrent (using Gentoo portage ktorrent 1.2) And suddenly my Hd start to work (REALLY WORK) ktorrent, starts to fullfill my /home partition with ~/.kde/share/apps/ktorrent/tor0/current_chunk.tmp When i kill ktorrent this file was about 6.4G Well, then i move out my previous ~/.kde/share/apps/ktorrent/ letting the svn version generates his own. Everything looks fine except for 1 little thing If i load the infowidget plugin, ktorrent crash with this error
Besides that it seems that encryption support works good. BTW it will be good if there is some documentation about plugins so everybody could write his own plugin. i.e. i want to do a "plugin" that pipes to a file.tmp some info and then use this info in my conky (or gkrellm2). That could be: current peers, seeders, Down Speed (from the tor1 or total)...etc I dig around for a while, but dont get it. Maybe other day with more time i can do it all by my self. Good Bye And Keep the Good work
Gonzalo Martinez
Jabber: KarMax@jabber.org |
Registered Member
|
I had this problem. I don't know where Gentoo installs KTorrent, but it's not the same as the ./configure does. unemerge ktorrent then reinstall from SVN and the infowidget shouldn't crash it. |
Registered Member
|
|
Registered Member
|
I found this afternoon my system was totally unresponsive (several seconds to open a terminal window), then I noticed KT was in the state described by KarMax above: memory filled up and hard disk working like hell...
Since KT might not be the sole culprit I rebooted the system that had some two weeks of uptime, and it seems all is running OK by now |
Moderator
|
The hard disk running like hell might have something to do with pages being loaded in and out of memory. Maybe a memory leak somewhere in the encryption code ? Allthough there isn't much dynamic allocation going on there. When you encounter this again, can you make sure it is KT, using top or something like that. |
Registered Member
|
Linux kafka 2.6.16-gentoo-r7 #1 Tue May 9 21:27:39 UTC 2006 x86_64 AMD Athlon(tm) 64 Processor 2800+ GNU/Linux The problem cames when you have a previous version of ktorrent installed using emerge (if you want you can check the ktorrent-1.2.ebuild (v1.2) My files and config are stored in ~/.kde/share/apps/ktorrent. Then when you make and run (i dont do make install) the svn version, ktorrent start to create a tmp file (i asume that this file will never stop growing). The file is current_chunk.tmp I have conky running, so when this problem "startup" i can confirm that the problem was ktorrent. Maybe its a wrong check (file size, cant erase...) with "current_chunks". dont know. It will be good if someone can test this problem too. I dont need to restart my system. (have different partitions and some user limitations) so "beware" when you test this problem. BTW the idea of the scheduller plugin and the autoload torrents is excellent. Keep the good work
Gonzalo Martinez
Jabber: KarMax@jabber.org |
Moderator
|
I think I know what is causing this problem :
It's actually a fix to a bug, which causes the current_chunks file to break on 64 bit platforms. This only happens with old downloads, new downloads have a proper current_chunks file and work. I made a sticky about it. So the best way to deal with this is to remove the current_chunks file of all torrents you started before you upgraded. You will loose some data but not much. |
Registered Member
|
I was a few days gone because of a telco hop, sry.
I experience the same problem as KarMax on my 32bit kubuntu using latest svn. A few days ago ktorrent consumed a lot of ram (far more than normally), but at that time i guessed i crewed up kubuntu. Now when i start ktorrent, i see something alike KarMax happening here. OK, i had removed all current_chunks files and started ktorrent, after that ktorrent crashed:
So i uninstalled ktorrent and rm the svn folder, and after that i co & make again. All is fine again. Now i'll keep my eyes on the ram usage i experienced before. |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]