Moderator
|
Adam Forsyth aka phantom042 has put together a little script to control KT from the console. You need the latest code from SVN to make it work.
You can find the script here : http://ktorrent.org/downloads/ktshell.sh We will include it with the next release (still need to add it to the SVN repository). A big thanks to Adam, for contributing this, and if there are any bugs in it, just post them here.
Last edited by George on Sun Nov 02, 2008 9:25 am, edited 1 time in total.
|
Registered Member
|
|
Moderator
|
|
Registered Member
|
It really grieves me that KT (ktorrent_2.0beta1-1_i386.deb) performs so badly, crashing often, saturating my ADSL link (but achieving a mere average ~25KB/s effective DL rate out of my available ~90KB/s), losing responsiveness often (taking 100% CPU), thrashing, occasionally filling my swap space (1G), fluctuating memory consumptions (top shows 140 to 730MB virtual; leaking?!)...
In my recent experience KT usually (not always) starts sane and goes nuts with time. (The log didn't help me understand anything.) To prevent KT from burning my HD (due to thrashing) I resorted to "recycling" it, automatically, since can only use it when leaving home. Eg:
phantom042's meticulous (if uncommented) script should be studied to enhance this Q&D one... HTH someone. (Better, I hope we won't need this ugliness, soon.) (o; |
Moderator
|
The beta had some problems, but I haven't heard anything this bad.
Have you tried a recent SVN version like this one : http://ktorrent.org/downloads/svn-snaps ... -06.tar.gz From a couple of hours ago. |
Registered Member
|
ktshell should explicitly use /bin/bash as its interpretor, as it uses some bash-specific extensions. It doesn't run with /bin/dash or other sh-compatible replacements that distros may be using. Namely, Kubuntu Edgy will be using dash as the default sh.
It would be nice if that could be worked into a 2.0.3 release, too. |
Moderator
|
|
Registered Member
|
Well, it's true I do not have a DCOP server running, but i think something went wrong in there. This is "my fault" for the following: jrodman@Skonnos:~> env |grep BROKEN I_WANT_A_BROKEN_PS=hi Still, I wonder if the script could be made to work regardless by supporting BSD syntax. Oh, duh, another option is to just remove this variable (if present) in the script's environment. |
Registered Member
|
|
Registered Member
|
|
Registered Member
|
|
Registered Member
|
|
Registered Member
|
|
Registered Member
|
|
Registered Member
|
Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]