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: Connecting to a server looks like a huge job  (Read 4811 times)

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Connecting to a server looks like a huge job
« on: November 21, 2006, 06:36:12 PM »

I'm using 2.1.3 CVS version, current snapshot 2006-11-20., on ubuntu dapper.
Each time I connect to a server amule freezes for about 90 sec. and the cpu goes to 100%.
Is it normal?
Thanks a lot.
« Last Edit: November 26, 2006, 11:57:43 AM by luquino »
Logged

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: Connecting to a server looks like a huge job
« Reply #1 on: November 26, 2006, 11:58:12 AM »

Nobody can answer?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Connecting to a server looks like a huge job
« Reply #2 on: November 26, 2006, 12:58:31 PM »

No, it is not normal.
Logged

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: Connecting to a server looks like a huge job
« Reply #3 on: December 01, 2006, 10:02:45 PM »

Ok, it is not normal.... and?
There is something I can check?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Connecting to a server looks like a huge job
« Reply #4 on: December 01, 2006, 11:31:06 PM »

Let's start with the usual things:
Version of wx? aMule? (Still the above CVS?)
What's the output of aMule when you open it in a terminal?
Logged

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: Connecting to a server looks like a huge job
« Reply #5 on: December 08, 2006, 05:10:40 PM »

Sorry for delay, I wasn't able to connect in the last week for technical problems.
Here the output of amule starting in a terminal:
--------------------------------------------------
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
Loading temp files from /media/hdc1/downloads/aMule/scaricando.

All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
--------------------------------------------------

I omitted the list of empty dirs found. I suppose that the zeroes in the IP addresses in the above 3 lines are involved in the problem, but I don't know how.

In the log window of amule this is the version found:

2006-12-08 17:03:51:  - This is aMule CVS using wxGTK2 v2.6.3 (Snapshot: Fri Dec  8 07:01:52 CET 2006) based on eMule
2006-12-08 17:03:51:    Running on Linux 2.6.15-27-386 i686
« Last Edit: December 08, 2006, 05:17:39 PM by luquino »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Connecting to a server looks like a huge job
« Reply #6 on: December 08, 2006, 05:43:12 PM »

Hi luquino!

The zeros are no problem, they mean 'every ip.

To phrase my question differently: What's the terminal output, when you connect to a server and cpu-load increases?
Logged

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: Connecting to a server looks like a huge job
« Reply #7 on: December 08, 2006, 05:53:38 PM »

Hi wuischke!
Sorry for misunderstanding  :(  

Well I tried it right now, but there is no output at all on the terminal during connection to a server.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Connecting to a server looks like a huge job
« Reply #8 on: December 08, 2006, 06:09:47 PM »

Never mind, there's no need to apologize,

Mh, is there any strange output in the log? I hoped for some nice error messages in the terminal which could easily explain...:(
Logged

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: Connecting to a server looks like a huge job
« Reply #9 on: December 08, 2006, 06:14:51 PM »

No, unfortunately I have no strange report in the log, here what it says after the freeze period:

2006-12-08 17:49:31: Servers: Trying to connect
2006-12-08 17:49:31: Connecting to DonkeyServer No3 (62.241.53.17 - 62.241.53.17:4242)
2006-12-08 17:49:31: Connected to DonkeyServer No3 (62.241.53.17:4242)
2006-12-08 17:49:32: Servers: Connected

If the report log is well synchronized with the events it looks like that the freeze period is before the connection to the server, the merely connection is fast.
Mmmmhhh.... that's strange
« Last Edit: December 08, 2006, 06:26:02 PM by luquino »
Logged

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: Connecting to a server looks like a huge job
« Reply #10 on: December 08, 2006, 07:05:18 PM »

I' ve been thinking on this trick......
Maybe in the freeze period it tries to access some unavailable resource? Can u teach me how to use the debug mode to understand what happens? (if it can help, obviously)
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Connecting to a server looks like a huge job
« Reply #11 on: December 08, 2006, 07:20:32 PM »

Well, you should compile aMule adding '--enable-debug --disable-optimize' to the configure command.

Then install gdb (See http://www.amule.org/wiki/index.php/Backtraces for more information) and start aMule the following way:

Code: [Select]
gdb amule
(gdb) run -eveniflfroencomplainsthiswillstay

Now there should be more information on what aMule's doing during the 'freeze'. This information will hopefully help solving the problem.
Logged

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: Connecting to a server looks like a huge job
« Reply #12 on: December 08, 2006, 07:24:09 PM »

I use the precompiled version from here:
deb http://www.vollstreckernet.de/debian/ stable amule wx

My system is ubuntu dapper 6.06.1.

That version is already compiled for debug?

edit:
I already have gdb installed
« Last Edit: December 08, 2006, 07:26:10 PM by luquino »
Logged

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: Connecting to a server looks like a huge job
« Reply #13 on: December 08, 2006, 07:43:24 PM »

Some new details.

I tried tyo connect some more times in order to understand something new, I found that the freeze period is not always before connecting to the server, sometimes before the connection some other times after the connection. But also now I'm listening a stream radio and always at the moment I double click the server to connect the radio mute for a while, less than the freeze period, but significant.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Connecting to a server looks like a huge job
« Reply #14 on: December 08, 2006, 08:28:15 PM »

Maybe it's because you use the debian packages, which may not be 100% compatible. Please install aMule 2.1.3 from dapper-backports and tell us if it works here.
Logged
Pages: [1] 2