aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: 20051210 kad contacts disappear after 2 hours  (Read 12213 times)

RRT4

  • Jr. Member
  • **
  • Karma: 3
  • Offline Offline
  • Posts: 67
20051210 kad contacts disappear after 2 hours
« on: December 11, 2005, 11:30:47 AM »

It is the second time it happens, with both amuled kad only and amuled hybrid
after 2/3 hours i get kad disconnect and in php-default (tab kad statistics) i see the numbers of contacts dropped to zero, restarting the client does not help to get kad functionality up again, i need to boot a nodes.dat
i think that it did not happen with the older cvs
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: 20051210 kad contacts disappear after 2 hours
« Reply #1 on: December 14, 2005, 07:58:32 AM »

IWH.

To be exact, after 4 horus, I have 920 nodes, and no disconnection...
Logged

acehigh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Me too
« Reply #2 on: December 28, 2005, 11:15:53 AM »

See here the logfile:

....
2005-12-28 02:09:44: Connecting client: amule-remote 0x0001
2005-12-28 02:09:44: Access granted.
2005-12-28 02:10:05: External connection closed.
2005-12-28 02:45:42: Connected to Kad (firewalled)
2005-12-28 02:45:42: Connected to Kad (ok)
2005-12-28 04:11:56: Disconnected from Kad <- i was sleeping!!
2005-12-28 11:31:56: Disconnected from ED2K <- shutdown of the amuled by me
....
After amuled restart.. kad reconnected ok.


ps. amuled cvs 27122005 x64
« Last Edit: December 28, 2005, 12:42:28 PM by acehigh »
Logged
-- In a world without doors and locks, why do we need Windows and Gates? --

RRT4

  • Jr. Member
  • **
  • Karma: 3
  • Offline Offline
  • Posts: 67
Re: 20051210 kad contacts disappear after 2 hours
« Reply #3 on: December 28, 2005, 01:50:13 PM »

still happens to me, and yes restarting the client allows to get kademlia connected ok
probably the first times, when i need to boot a nodes.dat to run kademlia again, there was some other problem

i have another issue with amuleweb running with amuled on a remote pc, after 3/4 hours of use if i try to display kad stats (php-default interface) using the browser on the local pc, amuleweb crashes on the remote one, it happens only trying to display kad stats tab, every other tab works without problem, and it happens also if i restart amuleweb with 'nohup amuleweb -q &'
Logged

acehigh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Now worked...
« Reply #4 on: December 29, 2005, 09:11:01 AM »

Today Kad worked for me.
It reached up the 900+ contacs and stays there... amuled is on from 8 hours...
Sometimes the bug appears, sometimes not.

cvs 27122005 x64
Logged
-- In a world without doors and locks, why do we need Windows and Gates? --

acehigh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Today no!
« Reply #5 on: December 30, 2005, 12:39:28 PM »

Today kad didn't worked for me.
After 2/3 hours the number of contacts drops to zero, and the log says (kad disconnected).
I have to restart amuled.

How can i help to discover the bug?
Logged
-- In a world without doors and locks, why do we need Windows and Gates? --

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: 20051210 kad contacts disappear after 2 hours
« Reply #6 on: December 30, 2005, 04:26:26 PM »

Do you have a router?
Logged

acehigh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: 20051210 kad contacts disappear after 2 hours
« Reply #7 on: December 30, 2005, 04:35:46 PM »

yes.

adsl router/firewall. I fix the ip address of the machine with amuled and then open the tcp/udp ports to that ip.
« Last Edit: December 30, 2005, 04:40:46 PM by acehigh »
Logged
-- In a world without doors and locks, why do we need Windows and Gates? --

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: 20051210 kad contacts disappear after 2 hours
« Reply #8 on: December 30, 2005, 04:45:03 PM »

I blame UDP congestion on the router.
Logged

acehigh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: 20051210 kad contacts disappear after 2 hours
« Reply #9 on: December 30, 2005, 05:41:39 PM »

The router is Netgear DG834
It worked for months with eMule.

Viewing the graphs of the number of connections it shows a line up and down around the 900 connections. After a while (and not always) the line stops going up and down, stays with the same number of connection for some time (minutes) and then drops down to 0.
It this status (ed2k running, kad not running), with amulecmd i say: "connect kad" but  nothing happens.
In the logfile i find: read 197 contacts... Kad started, but querying the status keeps saying kad not running.
I have to restart amuled, and the in the  new logfile i find kad connected (firewalled) and after a while kad connected (ok).
Logged
-- In a world without doors and locks, why do we need Windows and Gates? --

Radek

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 149
Re: 20051210 kad contacts disappear after 2 hours
« Reply #10 on: December 30, 2005, 07:50:56 PM »

Same thing happening to me and others, too. See this thread.

I don't really believe in UDP congestion as I don't have that much traffic/connections and one of the more advanced (and expensive) routers (Bintec X1200II). I will check the logs, of course, to see if I can find sth unusual.

But, even if it would be the case, it should be able to reconnect again.
Logged
There are 10 kinds of people - those who are able to understand binary numbers and those who aren't...

RRT4

  • Jr. Member
  • **
  • Karma: 3
  • Offline Offline
  • Posts: 67
Re: 20051210 kad contacts disappear after 2 hours
« Reply #11 on: December 30, 2005, 09:04:41 PM »

i also have a router (linksys wag54g) that always worked well in the past with amule ed2k centralized network, with mldonkey (tons of connections, a lot a sources asked for position queue every 10 minutes) and with overnet pure client (serveless network based on kademlia with a lot of udp traffic)
Logged

acehigh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Cvs20060116
« Reply #12 on: January 17, 2006, 07:04:43 PM »

CVS20060116 still has the bug.
After 1 day or less (typically when I come back home at night) the CVS of the day before is disconnected (kad).
Logged
-- In a world without doors and locks, why do we need Windows and Gates? --

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: 20051210 kad contacts disappear after 2 hours
« Reply #13 on: January 18, 2006, 02:25:38 AM »

still working here :)
Logged

vdb

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 215
Re: 20051210 kad contacts disappear after 2 hours
« Reply #14 on: January 18, 2006, 10:59:10 AM »

Kry, are you perhaps continuously downloading files? If so, just stop downloading and just leave aMule for uploading only. Say for about 24 hours, that should be plenty. Usually I see a Kad disconnect after 12 hours with no downloading activities.

If I download continuously aMuled usually crashes after a couple of days, but Kad stays connected.
Logged
A waste is a terrible thing to mind.
Pages: [1] 2