aMule Forum
English => en_Bugs => Topic started by: aldebaran 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
-
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).
-
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...
-
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"
-
Hum, hum, hum.
-
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
-
Yea, it may be same problem. Do you have router @ home too ? (just curious)
-
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.
-
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.
-
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.
-
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.
-
are you on lowid?
and maybe try tomorrows cvs tarball, the network code is complelty rewritten, and works much better now
stefanero
-
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)
-
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)
-
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