Page 1 of 1

Mysterious Connections

Posted: Mon May 31, 2010 2:45 am
by Aqlor
First of all, I am using
Deluge 1.2.2 on
Ubuntu 10

Well, the problem is, when I start deluge, everything goes totally fine. The problem is afterwards. After I close deluge, my connection will be as good as dead, I opened up wireshark to see what was the problem and I seem to be clogged with "Destination unreachable (Port unreachable)", it's a problem I don't get UNTIL I close deluge. What is also weird is that I set up the maximum connections for deluge as 0 and, first, it doesn't drop the connections immediately, it takes some time to get them to 0 (sometimes I try to use tcpkill to get this to be quicker, but I seem get the same problem with dropped packets with or without it) and second I still get many connections from MY computer to outside with destination port set to 6891 ( the port I am using on deluge ).

Now the weird thing is, once I open deluge again, still with 0 connections, the connections on the 6891 port will be up again and no more problem with the "port unreachable" packets.

So, deluge doesn't seem to know how to shutdown it's connections, it still keeps on trying to send even after it is shutted down.
With netstat -npa --tcp I can still see a python process taking up some bandwith. So , can you fix it or tell me how to?

right now, what I am doing to kill it is: before I close deluge, I set connections to 0, pause all downloads, wait for a while for connections to drop, close it, tcp kill on the port I am using to see if I can kill anymore connections and then I open it again and wait for wireshark to stop showing me torrent packets.

Sorry for the bad english, english is not my native language and I haven't used it for a while, please tell me if anything isn't clear.
Thanks in advance
Levi

Re: Clean Shutdown

Posted: Mon May 31, 2010 12:11 pm
by Aqlor
Found another weird thing, I'll upload the screenshot so you can see it.

Weird things:
-Maximum connections set to 0, but I am getting lot of traffic on my bt port
-Deluge says its using 45 connections, I only have one torrent "working" and on its status and torrent list, it seems using 23+18 ,41 connections, so where are the other 4?
45 of 0 connections or 41 of 0 connections?
45 of 0 connections or 41 of 0 connections?
Screenshot.png (171.71 KiB) Viewed 1756 times
I can also send you a wireshark file with the packets if you want