aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amuled terminates uploading connections at <1mb  (Read 6287 times)

aldebaran

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
amuled terminates uploading connections at <1mb
« on: May 04, 2005, 10:58:27 AM »

program suite: aMule 2.0.0 stable
binary: amuled
OS: Debian Sarge
Wx: ii  amule-wxcas    2.0.0-rel+CVS2 reporting module for amule (graphical)
ii  libwxgtk2.5-de 2.5.3.2-2      wxWidgets Cross-platform C++ GUI toolkit (GT
ii  libwxgtk2.5.3  2.5.3.2-2      wxWidgets Cross-platform C++ GUI toolkit (GT
ii  wx2.5-headers  2.5.3.2-2      wxWidgets Cross-platform C++ GUI toolkit (he

problem: Started amuled and connected to server (with both lowID or hiID) with shared files of dimension not less than 30 Mb ALL uploading sessions are terminated after 20kb - 800kb. aMule statistics tell me that these are all successfully terminated sessions.

This problem does not happen with amule (amule with integrated interface) whith which I usually have always about 100 clients queue and am uploading at 50kb/s speed.

Note: this problem happens since amuled CVS versions of January (when I  used amuled for the first time)

Note: after launching the program from shell two lines appers whose significate I ignore:
CServerSocket: connection closed
CServerSocket: destroying socket 0x8a7bda8   <-- socket address changes every time I run amuled
« Last Edit: May 12, 2005, 08:53:23 AM by aldebaran »
Logged

TrollGod

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
RE: amuled terminates connections at <1mb
« Reply #1 on: May 10, 2005, 07:50:41 AM »

I'm seeing this also, amuled runs fine for a few minutes but after a while it starts doing these small uploads to everyone.  The transfer goes fine for a few seconds, then it reports 0.0k upload speed for a few more seconds then the transfer is dropped.

I'm running on debian with a self-compiled wxBase 2.6.0.  The downloads don't seem to be affected in any way and amule itself runs fine with the same settings (though obviously using a different wx since it needs the full wxgtk lib, still v2.6.0 though).
Logged

aldebaran

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
RE: amuled terminates connections at <1mb
« Reply #2 on: May 12, 2005, 08:47:24 AM »

Quote
Originally posted by TrollGod
amuled runs fine for a few minutes but after a while it starts doing these small uploads to everyone.  The transfer goes fine for a few seconds, then it reports 0.0k upload speed for a few more seconds then the transfer is dropped.

Exactly what happens also to me...
Logged

TrollGod

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: amuled terminates uploading connections at <1mb
« Reply #3 on: May 13, 2005, 04:12:08 PM »

Possibly related, possibly just coincidental.  After compiling a debug version instead of my usual optimised one, I seem to be seeing the following message whenever the behaviour begins.
"ECSocket::ReadBufferFromSocket error No error happened"
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: amuled terminates uploading connections at <1mb
« Reply #4 on: May 14, 2005, 12:11:09 AM »

Hum, hum, hum.
Logged

TrollGod

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: amuled terminates uploading connections at <1mb
« Reply #5 on: May 14, 2005, 11:26:15 AM »

Duh, I'm an idiot.  Thats the remote gui disconnecting, so it has nothing to do with it.  Interesting behaviour I have just discovered though, I can get it to start transferring properly again by increasing max connections (I just went from 500->900).  After a while it stops again though, so I think the problem may actually be the same as this one http://forum.amule.org/thread.php?threadid=5545
« Last Edit: May 14, 2005, 11:59:31 AM by TrollGod »
Logged

lfroen

  • Guest
Re: amuled terminates uploading connections at <1mb
« Reply #6 on: May 14, 2005, 02:58:01 PM »

Yea, it may be same problem. Do you have router @ home too ? (just curious)
Logged

TrollGod

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: amuled terminates uploading connections at <1mb
« Reply #7 on: May 14, 2005, 04:06:44 PM »

Yes and no, depending on what you mean by router  :D.  I use a linux box (IPCop) with a PCI ADSL card as my router.
Logged

aldebaran

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: amuled terminates uploading connections at <1mb
« Reply #8 on: May 16, 2005, 12:09:36 PM »

I exclude the possibility of active connection limit reached because:
a) I run amuled _after_ having used amule for a long time with config max connections and sources to 800 - 900. Even when I stress it by setting several downloads and uploads it never reaches the hard limit (I'm forcibly lowID for the internet, only get HighID in my providers' WAN)

"     Active connectios (stima): 55
      Maximun connections limit reached: never
      Average connections (stima): 51,629185
      Connections Peak (stima): 119
"
(mine is in italian, i just translated it someway)

b) The problem appears from the beginning when I start amuled with no downloads in cueue (and the upload cueue, as I said, is always empty for the uploads being terminated in a few seconds)

Concerning your question about routers, the computer where I run amuled has two ethernet cards and provides connectivity to others computers in my home serving as a NAT. Furthermore I'm behind a gateway/ADSL modem (provided by my isp) and a  NAT (of my isp).
ALthough I have no access to change settings on my gateway, I have never suffered any connectivity problem caused by him.
« Last Edit: May 16, 2005, 12:10:50 PM by aldebaran »
Logged

TrollGod

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: amuled terminates uploading connections at <1mb
« Reply #9 on: May 16, 2005, 03:48:40 PM »

I wouldn't discount it completely, monolithic amule works perfectly for me too.  I don't use anywhere near the max connections I set, but it seems to me that amuled has a bug where it thinks its using a lot more connections than it is.  It looks like amuled thinks old connections are still open, but I don't see that many with netstat so I don't think they actually are.

Anyway I've made a workaround for the problem by setting MaxConnections to 10000  :D, seems to make the problem go away.  Of course if the connections are real then my machine will probably fall over at some point in the future but what the hell  :D.
Logged

aldebaran

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
uff.. same problem with amule 2.0.1 on SuSE 9.3
« Reply #10 on: June 01, 2005, 07:00:14 PM »

uff... The same problem I reported for my debian box still occoures with amuled v.2.0.1 and on a different platform (SuSE 9.3).
A few seconds after the upload starts at maximum speed the speed rapidly decreases to 0 and than the upload is terminated (statistics say successfully).
This problem has occured so many times till now that I can assure it's not a matter of small last chunk uploads.
Since this always happens to me,
since to many other people it doesn't,
since it happens both on my desktop and my local server,
I think it should be some conflict between my particular IP addres and some amuled code...
My ip is one of 23.255.x.x ones. You see it seems an invalid IP, but it isn't actually. It is my provider that has built up a Wide Area Network of his costumers.

I have also to specify that amule standard works perfectly on both machines.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuled terminates uploading connections at <1mb
« Reply #11 on: June 01, 2005, 07:35:18 PM »

are you on lowid?
and maybe try tomorrows cvs tarball, the network code is complelty rewritten, and works much better now

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

aldebaran

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: amuled terminates uploading connections at <1mb
« Reply #12 on: June 01, 2005, 07:39:37 PM »

yes of course I'm on low ID,
however my WAN has 2 internal servers (and a dedicated emule mod with special Kad support) with which I get high ID.
It changes nothing concerning this problem with amuled.

Thank you for your advice Stefanero, tomorrow I'll try with the new cvs  8)
« Last Edit: June 01, 2005, 07:51:03 PM by aldebaran »
Logged

aldebaran

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
My compliments devs! Problem solved!!
« Reply #13 on: June 04, 2005, 12:08:25 AM »

Great guys!!
Since I discovered aMule project I always believed you rock developers, and this time I can say it again loudly: YOU REALLY ROCK!!!  8)

With today's CVS version (actually the first one I've tried after 2.0.1 milestone)  amuled runs greatly on my Debian box!! no more problems uploading linux distros!!

Now the daemon will happily run in my box thanks to you, evil coders  ;) , and X will no longer eat precious resources from my server!!!  :))

Good work, carry on doing like this!!
& thanks a lot for all you're doing for us.  :baby:

Aldebaran (another happy amule user)
« Last Edit: June 04, 2005, 12:09:03 AM by aldebaran »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuled terminates uploading connections at <1mb
« Reply #14 on: June 04, 2005, 07:26:15 AM »

lfroen just did a great job with the new code :)
well I guess,
this is the point when we show the users the paypal button  :]

just kidding, have fun with new deamon ;)

see ya
stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."