Deluge Kills Internet Connection (again!)

General support for problems installing or using Deluge
Post Reply
yochaigal
Member
Member
Posts: 19
Joined: Fri Sep 12, 2008 2:08 am

Deluge Kills Internet Connection (again!)

Post by yochaigal »

Hello all,

I really love the new deluge.... but ever since upgrading I've had this problem:
When deluge is downloading a torrent, even if it's only .5 kb/s, it completely kills my internet connection (on all machines on the network). I have to restart the modem, the router, and my networking service for it to work again. I am running Ubuntu Hardy, my router is a Linksys WRT5G_v6 with DD-WRT installed. I use AT&T with a Speedstream modem.
This has happened before, on a much older version of deluge. I solved it by upgrading my router's firmware. Unfortunately, I have the latest firmware already!
I've changed the max half-connections and connections per second to reasonable levels (50 or 100) and it lasts for about 30 seconds longer, then dies.
Here is a post about the same problem, when it happened before:

http://ubuntuforums.org/showthread.php?t=723694

Can anyone help me? My TCP and UDP settings are at 120.... I can't think of anything else. I don't think changing the MTU helps, either.

thanks!
Last edited by yochaigal on Mon Sep 15, 2008 4:32 pm, edited 1 time in total.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Deluge Kills Internet Connection (again!)

Post by andar »

yochaigal wrote:Hello all,

I really love the new deluge.... but ever since upgrading I've had this problem:
When deluge is downloading a torrent, even if it's only .5 kb/s, it completely kills my internet connection (on all machines on the network). I have to restart the modem, the router, and my networking service for it to work again. I am running Ubuntu Hardy, my router is a Linksys WRT5G_v6 with DD-WRT installed. I use AT&T with a Speedstream modem.
This has happened before, on a much older version of deluge. I solved it by upgrading my router's firmware. Unfortunately, I have the latest firmware already!
I've changed the max half-connections and connections per second to reasonable levels (50 or 100) and it lasts for about 30 seconds longer, then dies.
Here is a post about the same problem, when it happened before:

http://ubuntuforums.org/showthread.php?t=723694

Can anyone help me? My TCP and UDP settings are at 120.... I can't think of anything else. I don't think changing the MTU helps, either.

thanks!
What about limiting the number of overall connections? I find this can be pretty crucial for some routers as they don't cope well with large amounts of open connections. Try something reasonable like 200 and see how it goes.
yochaigal
Member
Member
Posts: 19
Joined: Fri Sep 12, 2008 2:08 am

Re: Deluge Kills Internet Connection (again!)

Post by yochaigal »

I tried limiting the max num of overall connections to 200, but no--- same problem.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Deluge Kills Internet Connection (again!)

Post by andar »

yochaigal wrote:I tried limiting the max num of overall connections to 200, but no--- same problem.
I wonder if this could be caused by trying to resolve countries. If you feel comfortable, could you try editing one of the source files and restarting deluge?

The file should be located at /usr/lib/python2.5/site-packages/deluge-0.9.09-py2.5-linux-i686.egg/deluge/core/torrent.py

Comment out line 120:

Code: Select all

        self.handle.resolve_countries(True)
to

Code: Select all

        #self.handle.resolve_countries(True)
Restart deluge and see if this helps.
yochaigal
Member
Member
Posts: 19
Joined: Fri Sep 12, 2008 2:08 am

Re: Deluge Kills Internet Connection (again!)

Post by yochaigal »

Sorry, I just got home so I only got a chance to try this out just now.

But I can't find this file at that place.. .instead it is found at:

/usr/share/python-support/deluge-torrent/deluge/core

It worked for a few minutes... I felt a drop in my browser response time... then I closed deluge, and things sped up a bit... before, i couldn't get it back until I rebooted the router.

Now, I re-opened deluge, waited about 10 minutes (on a 700mb file), and things were slow (I have a 6Mbps line). It definitely works now, though. Before I couldn't get anything.

Sorry for the confused response! I didn't know if this info would help you guys. Anyways, I think your solution worked (mostly). It still gets MUCH slower to browse the web when downloading torrents then with any other client. I really love deluge, so i'll probably just keep using it for now. Thanks a bunch!

yochai
ceaseoleo

Re: Deluge Kills Internet Connection (again!)

Post by ceaseoleo »

Hi
I just upgraded to latest Deluge as well, and found the same issue. My setup is almost identical, with DD-WRT and latest deluge. Using the one out of the Ubuntu repository works fine. After upgrade, as soon as download or upload starts, my internet dies. Any help is appreciated. thanks
merindol

Re: Deluge Kills Internet Connection (again!)

Post by merindol »

Hi.

I have quite the same problem and am investigating about this issue.
Currently I put the half-connection max. to 8 and browsing works ok.
tristan
Member
Member
Posts: 11
Joined: Sun Dec 09, 2007 11:54 pm

Re: Deluge Kills Internet Connection (again!)

Post by tristan »

I'm experiencing the same issue. Using OperWRT on an ASUS wl-500g premium v1.

Any news?

Thanks,

Tristan
junkacc
New User
New User
Posts: 7
Joined: Sun Aug 30, 2009 4:42 pm

Re: Deluge Kills Internet Connection (again!)

Post by junkacc »

me too.

running 1.2rc4 on debian testing
Post Reply