This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Ktorrent kills my entire network!

Tags: None
(comma "," separated)
imported4-exdeath
Registered Member
Posts
3
Karma
0

Ktorrent kills my entire network!

Mon Jul 17, 2006 9:29 am
I'm using the built that is available on your site for download for Fedora Core 5 (V2.0 Beta1-2 I belive). It all worked great for a day or two, but since yesterday I'm having a strange behavior in network apps after running Ktorrent.
Firefox, Konqueror, Yum, Gaim, ThunderBird and all sort of apps can't connect to the Internet after I start Ktorrent. Ktorrent downloads and uploads ok, I've messed with ports, and all kind of settings on Ktorrent, the firewall and even my router and I can't fix the problem. All the other computers on the network are affected. I think it is not a bandwidth problem because I limited both uploads and downloads to 5K/s on a 2MB conection with no results.
The strangest thing is that when I shutdown Ktorrent this strange behavior continues. I have to reboot my computer to have my network back again.
Any Ideas?

I also tried to compile a svn release but I get an error:
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!

Is there a list of the necesary packages?

Thanks for your time and devotion towards Linux and Bittorrent. Ktorrent is the best Bt client out there for Linux.
Best regards. ;)
George
Moderator
Posts
5421
Karma
1

Re: Ktorrent kills my entire network!

Mon Jul 17, 2006 10:23 am
exdeath wrote:I'm using the built that is available on your site for download for Fedora Core 5 (V2.0 Beta1-2 I belive). It all worked great for a day or two, but since yesterday I'm having a strange behavior in network apps after running Ktorrent.
Firefox, Konqueror, Yum, Gaim, ThunderBird and all sort of apps can't connect to the Internet after I start Ktorrent. Ktorrent downloads and uploads ok, I've messed with ports, and all kind of settings on Ktorrent, the firewall and even my router and I can't fix the problem. All the other computers on the network are affected. I think it is not a bandwidth problem because I limited both uploads and downloads to 5K/s on a 2MB conection with no results.
The strangest thing is that when I shutdown Ktorrent this strange behavior continues. I have to reboot my computer to have my network back again.
Any Ideas?


That's strange, when you get SVN compiled, you should see if it still happens. I don't see how KT could be causing this, other then to much bandwith being used (which should be fixed in the current SVN), but after KT is shutdown, everything should go back to normal.

I also tried to compile a svn release but I get an error:
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!

Is there a list of the necesary packages?


I would say X, KDE and gmp, you will probably need to install the development packages for all of these.
George
Moderator
Posts
5421
Karma
1

Mon Jul 17, 2006 1:22 pm
Say, are you behind a router ? Maybe your router can't handle that many connections, NAT has some limitations. I suggest lowering the maximum number of connections per torrent and if you have a recent SVN version, you can set a global limit.
imported4-exdeath
Registered Member
Posts
3
Karma
0

Mon Jul 17, 2006 1:30 pm
I finally managed to compile the latest svn release. For those on FC and with problems with Qt this will do the trick:
Code: Select all
./configure --with-qt-dir=/usr/lib/qt-3.3 --with-qt-includes=/usr/lib/qt-3.3/include --with-qt-libraries=/usr/lib/qt-3.3/lib


There are visible improvements in stability of ktorrent and on the behaviour on my network.
Now the network isn't killed when I start Ktorrent, it just slows dow to a near stop. I can actually load pages after 40 seconds :D:P The best part is that looks like all goes back to normal when I turn off ktorrent, so no more rebooting :) I'll try to mess around more with ports and stuff to see if i can find something and get back to you.

I belive I found a litle bug. When chaging the deafault bt port (6881) this value isn't picked up by the UPnP plugin. You need to restart ktorrent in order to forward the new port.

Update:Upload speed limited to 3k/sec and gnome-system-monitor registers 24k upload when ktorrent is open. I have 14 torrents downloading, does that justify the extra upload traffic? Nevertheless on my connection that shouldnt be an issue :(
Update 2: Turning On/Off DHT shows no improvement.
imported4-exdeath
Registered Member
Posts
3
Karma
0

Mon Jul 17, 2006 2:17 pm
George wrote:Say, are you behind a router ? Maybe your router can't handle that many connections, NAT has some limitations. I suggest lowering the maximum number of connections per torrent and if you have a recent SVN version, you can set a global limit.


You are right about that. But on the precompiled built changing the max connection number did nothing. Now I see results. Is there a way of bypassing the router and having all those conections directly forward to my machine and reserve the router NAT for the other machines on the network?
My download speed is pathetic. I guess I'l need to balance things up.;)
Thanks for the help!!!
Update:No luck. After 1 or 2 hours all the network dies again. Rebbot needed:(
stoeptegel
Registered Member
Posts
1075
Karma
0

Tue Jul 18, 2006 6:30 am
exdeath wrote:Is there a way of bypassing the router and having all those conections directly forward to my machine and reserve the router NAT for the other machines on the network?


Most routers can be changed from routing function to bridging, though i would only recommend it for testing this issue because having an outside ip adres on the computer is less safe.
George
Moderator
Posts
5421
Karma
1

Tue Jul 18, 2006 8:40 am
exdeath wrote:
George wrote:Say, are you behind a router ? Maybe your router can't handle that many connections, NAT has some limitations. I suggest lowering the maximum number of connections per torrent and if you have a recent SVN version, you can set a global limit.


You are right about that. But on the precompiled built changing the max connection number did nothing. Now I see results. Is there a way of bypassing the router and having all those conections directly forward to my machine and reserve the router NAT for the other machines on the network?
My download speed is pathetic. I guess I'l need to balance things up.;)
Thanks for the help!!!
Update:No luck. After 1 or 2 hours all the network dies again. Rebbot needed:(


I don't know if it's possible to bypass the router somehow, have you taken a look at the NAT settings of your router, maybe you can change the maximum number of connections NAT can handle.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]