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 3 ... 5

Author Topic: Connection to Kad lost  (Read 41854 times)

vdb

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 215
Connection to Kad lost
« on: January 03, 2006, 09:15:20 PM »

Developers, first off congratulations on this release.

However, it seems that the Kad disconnect bug is not entirely squashed yet, it seems the daemon loses connection after a while. This time I am actually downloading more then 5 files, most with more then 100 sources:
[me@mine .aMule]$ cat logfile | grep Kad
2006-01-03 08:03:39: Read 0 Kad contacts
2006-01-03 08:03:40: Kad started.
2006-01-03 08:03:41: Kad stopped.
2006-01-03 08:03:41: Connected to Kad (firewalled)
2006-01-03 08:03:57: Connected to Kad (ok)

2006-01-03 18:03:41: Connected to Kad (firewalled)
2006-01-03 18:03:42: Connected to Kad (ok)
2006-01-03 19:02:34: Disconnected from Kad
2006-01-03 21:29:14: Read 145 Kad contacts
2006-01-03 21:29:14: Kad started.
2006-01-03 21:29:35: Kad stopped.
2006-01-03 21:29:41: Read 93 Kad contacts
2006-01-03 21:29:41: Kad started.

The last 2 entries where when I tried to start Kad from the amulecmd command line with the sequence "connect kad", "disconnect kad" and "connect kad" again. It seems the only way to gain Kad connectivity again is stopping and starting the daemon.

Any suggestions?
Logged
A waste is a terrible thing to mind.

Bourdieu

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 55
Re: Connection to Kad lost
« Reply #1 on: January 03, 2006, 09:34:32 PM »

I have the same behavior here with aMule 2.1.0 using amuled on linux slackware 10.2.

I can connect to kad immediately without any problem, but after approximately 4 hours I was disconnected and couldn't reconnect anymore.

Hope it'll help to find the solution.
Logged

Radek

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 149
Re: Connection to Kad lost
« Reply #2 on: January 04, 2006, 12:20:01 PM »

Same at my place.

But it is getting better (or so it seems). This time I lost connection after 43 hours. All the tests with CVS before this release lasted only for max 20 hours, as far as I can remember.

I am using amuled 2.1.0 on Debian Sarge
Logged
There are 10 kinds of people - those who are able to understand binary numbers and those who aren't...

papaf

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: Connection to Kad lost
« Reply #3 on: January 04, 2006, 03:17:14 PM »

Hi all,
I just recently switched from using amuled (up to 2.1.0) to using the monolithic app.
While I was having the same problems, with kad often offline, I have to say that without
changing anything else, the monolith app seems to be ok. I never got disconnected from
kad, and it's been nearly a week online now.

Also, I have to report that search operations work much better than the remote gui one.
Even non-kad searches.

Some of you that have those kad problems, can you verify if you still have the problems
without using amuled? Just out of curiosity...

Bye, Fabio.
Logged
Better use your head, but not for taking down walls...

vdb

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 215
Re: Connection to Kad lost
« Reply #4 on: January 05, 2006, 12:33:41 PM »

Yep, still having the problem with kad disconnect. I have lowered my max connections, and connections/second, but it seems to make no difference:
[me@mine .aMule]$ cat logfile | grep Kad
2006-01-03 21:39:09: Read 33 Kad contacts
2006-01-03 21:39:10: Kad started.
2006-01-03 21:39:10: Kad stopped.
2006-01-03 21:39:10: Connected to Kad (firewalled)
2006-01-03 21:39:14: Connected to Kad (ok)
2006-01-03 23:31:13: Disconnected from Kad

Seems that this time it already disconnected after merely 2 hours of operation, where the daemon crashed after just over 1.5 days of operation:
[me@mine .aMule]$ cat logfile
2006-01-03 21:39:08: AICH Thread: Syncronization thread started.
2006-01-03 21:39:08: Connecting
2006-01-03 21:39:08: Servers: Trying to connect

2006-01-05 09:36:11: Received 4 new servers
2006-01-05 09:36:11: Saving of server-list completed.

I can't really try the monolith, since the machine I'm running it on doesn't have a monitor nor X  :)
Logged
A waste is a terrible thing to mind.

IWantMyMule

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
Re: Connection to Kad lost
« Reply #5 on: January 05, 2006, 01:14:24 PM »

I've got the same problem with the monolithic mule.
« Last Edit: January 05, 2006, 01:14:45 PM by IWantMyMule »
Logged

acehigh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Hi all
« Reply #6 on: January 08, 2006, 04:31:56 PM »

I want to suggest all the people who found this problem  the reading of these 2 topics:

thread

and

thread

I'm presently running the CVS 06012006 but the problem still remains.

I'm suggesting again to the developers to put something significant in the logfile when amuled decides to disconnect itself, so we users can put the log in the forum and help the developers.
« Last Edit: January 08, 2006, 07:02:07 PM by acehigh »
Logged
-- In a world without doors and locks, why do we need Windows and Gates? --

inhumanity

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Connection to Kad lost
« Reply #7 on: January 09, 2006, 02:13:47 AM »

I have the same problem using amuled+amuleweb kad will disconnect at seemingly random intervals and not auto reconnect nor is it possible to manually reconnect it using amulecmd only a restart of amuled gets it running again.
« Last Edit: January 09, 2006, 02:14:07 AM by inhumanity »
Logged

DigitoErgoSum

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: Connection to Kad lost
« Reply #8 on: January 11, 2006, 06:50:03 PM »

Same problem for me using amuled+amuleweb. I'm using amuleCVS (as always  8) )
« Last Edit: January 11, 2006, 06:50:24 PM by DigitoErgoSum »
Logged

kreegee

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 160
    • http://kreegee.cycovery.com
Re: Connection to Kad lost
« Reply #9 on: January 12, 2006, 06:19:36 PM »

same here with amuled and 2.1.0

PxPert

  • Italian forum helper
  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 91
Re: Connection to Kad lost
« Reply #10 on: January 13, 2006, 08:25:48 PM »

Same problem here...  ;(
Logged
Server ~ # amuled
amuled: OnInit - starting timer
This binary requires you to use the flag --only-chuck-norris-would-stop-me and only if you're very sure of it.

TROVATEMI UN'ALTRO PROGRAMMA COSI PIMPANTE COME AMULE E MI FACCIO PRETE  :D :D :D

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Connection to Kad lost
« Reply #11 on: January 13, 2006, 09:24:39 PM »

As I said before, it doesn't happen here. I can have Kad enabled and run for days without a single disconnection. So I can't do anything on my side. It will ahve to be another dev. But I' the Kad dev, so...
Logged

vdb

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 215
Re: Connection to Kad lost
« Reply #12 on: January 18, 2006, 11:03:29 AM »

Is there any way of improving the Kad connect function for the daemon? It seems that ordering it to disconnect/connect works nicely if it actually is connected to Kad, but it does not work if it has automatically disconnected itself, see previous post.

Maybe something to look at in the upcoming CVS'es?
Logged
A waste is a terrible thing to mind.

PxPert

  • Italian forum helper
  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 91
Re: Connection to Kad lost
« Reply #13 on: January 18, 2006, 01:53:23 PM »

Very strange think... Now kad works perfectly. The only difference is that I don't connect to razorback (aMule automatically connects to kalbum.pl :D )
Logged
Server ~ # amuled
amuled: OnInit - starting timer
This binary requires you to use the flag --only-chuck-norris-would-stop-me and only if you're very sure of it.

TROVATEMI UN'ALTRO PROGRAMMA COSI PIMPANTE COME AMULE E MI FACCIO PRETE  :D :D :D

Bourdieu

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 55
Re: Connection to Kad lost
« Reply #14 on: January 18, 2006, 09:37:28 PM »

I was connected during the last 2 days, and I didn't experienced any disconnection from Kad network.

Maybe, the problem was due to a temporary congestion on the kad network.
Logged
Pages: [1] 2 3 ... 5