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: amuled gradually decreases downloading and dies  (Read 5566 times)

atash_000

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
amuled gradually decreases downloading and dies
« on: April 03, 2005, 07:22:34 PM »

hi all agian :((

amuled after about 2/3 days of being up, on the last hours of his/her[!] life had a significant increse in downloading. for instance it was downloading 50kB/s now it is less than 0.9kB/s !
after i tried to connect to edonkey server 1 instead of razorback 2 (which i thought might help my  old donkey wake up) just killed the amuled and only left the amuleweb processes running!

for godz sake ! for the donkies running in heaven :D ... can anyone help me figure this out !
i don't know why there is no back trace availabe when i run bt , bt full.

there is something to mention too.
i have disabled udp (as mentioned in wiki) and i have set max connections to 1000 , which is FULL !!!
i am using aMule-CVS-20050331

THANKS in  advance ,

AGAIN , if there is SOMETHING wrong with the way i present my problems (crashes!) w/ amule , just let me know to correct them out !

here goes the OOOOOOOOOOPZ!
-----------------------------------
aMule version is: CVS using wxGTK2 v2.5.3 (Snapshot: Thu Mar 31 07:01:23 CEST 2005)
Running on: Linux 2.6.10-ck5 i686

  • ?? in /usr/local/bin/amuled [0x80fda49]
  • [1] ?? in /usr/local/bin/amuled
[0x805e208]
[2] wxFatalSignalHandler in /usr/local/lib/libwx_base-2.5.so.3[0xb7f4fb36]
[3] ?? in /lib/libpthread.so.0 [0xb7f90be5]
[4] ?? in /lib/libc.so.6 [0xb7acd078]
[5] wxSocketBase::_Wait(long, long, int) in /usr/local/lib/libwx_base_net-2.5.so.3[0xb7e43a83]
[6] wxSocketBase::WaitForLost(long, long) in /usr/local/lib/libwx_base_net-2.5.so.3[0xb7e43c04]
[7] ?? in /usr/local/bin/amuled [0x814b051]
[8] wxThreadInternal::PthreadStart(wxThread*) in /usr/local/lib/libwx_base-2.5.so.3[0xb7f464af]
[9] wxPthreadStart in /usr/local/lib/libwx_base-2.5.so.3[0xb7f4637c]
[10] ?? in /lib/libpthread.so.0 [0xb7f8acc4]
[11] __clone in /lib/libc.so.6[0xb7b80037]

--------------------------------------------------------------------------------

Program terminated with signal SIGKILL, Killed.
The program no longer exists.
(gdb) ECSocket::WriteBufferToSocket error The socket is non-blocking and the operation would block
ECSocket::WriteBufferToSocket error The socket is non-blocking and the operation would block
ECSocket::WriteBufferToSocket error The socket is non-blocking and the operation would block
ECSocket::WriteBufferToSocket error The socket is non-blocking and the operation would block
ECSocket::WriteBufferToSocket error The socket is non-blocking and the operation would block
ECSocket::WriteBufferToSocket error The socket is non-blocking and the operation would block
ECSocket::WriteBufferToSocket error The socket is non-blocking and the operation would block
ECSocket::WriteBufferToSocket error The socket is non-blocking and the operation would block

(gdb) bt
No stack.
(gdb) bt full
No stack.
(gdb)
Logged

lfroen

  • Guest
Re: amuled gradually decreases downloading and dies
« Reply #1 on: April 03, 2005, 07:27:11 PM »

I don't see any problem in trace you posted. Mind, that in contrary of amule, daemon uses several threads. So, if it doesn't crashed, you can easy take a wrong one. Also, amule(d) wasn't compiled with debug info.
Logged

atash_000

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: amuled gradually decreases downloading and dies
« Reply #2 on: April 03, 2005, 08:26:33 PM »

i have compiled with the following options:

./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon --enable-debug --disable-optimise

something missing !

tnX
Logged

lfroen

  • Guest
Re: amuled gradually decreases downloading and dies
« Reply #3 on: April 03, 2005, 10:01:41 PM »

optionss looks ok, but those not:

Quote
[0] ?? in /usr/local/bin/amuled [0x80fda49]
[1] ?? in /usr/local/bin/amuled [0x805e208]
Logged

atash_000

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: amuled gradually decreases downloading and dies
« Reply #4 on: April 03, 2005, 10:57:38 PM »

don't u think . maybe the so many active connections are making the amuled die ? (1000)
i'm really confused why i should sit and w8 for my amule die !
is there anything else that i can provide to help ?

tnx
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2505
  • The last shadow you'll ever see
Re: amuled gradually decreases downloading and dies
« Reply #5 on: April 03, 2005, 11:39:25 PM »

atash_000,

You are probably not running the program you think you are running. Type
$ which amuled

And post the result here. Maybe you have aMule installed in two different directories?

Cheers!
Logged

atash_000

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: amuled gradually decreases downloading and dies
« Reply #6 on: April 03, 2005, 11:58:56 PM »

root@baghali:~# which amuled
/usr/local/bin/amuled
root@baghali:~#

that's it !
Logged

lfroen

  • Guest
Re: amuled gradually decreases downloading and dies
« Reply #7 on: April 04, 2005, 05:50:28 AM »

Quote
don't u think . maybe the so many active connections are making the amuled die ? (1000)

This is too match. amuled have limit of 1024 of all used sockets, so 1000 of active connection can easy hit this limit.
Now, I don't see any messages from "dying amule". Your trace is from normally running program.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2505
  • The last shadow you'll ever see
Re: amuled gradually decreases downloading and dies
« Reply #8 on: April 04, 2005, 09:01:54 AM »

Quote
Originally posted by atash_000
root@baghali:~# which amuled
/usr/local/bin/amuled
root@baghali:~#

that's it !
Well, there is something strange, how can a program compiled with debug info do not show debug info? ?(

Cheers!
Logged

BeFalou

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 53
Re: amuled gradually decreases downloading and dies
« Reply #9 on: April 04, 2005, 09:56:18 AM »

Could this be related to this? --> http://forum.amule.org/thread.php?threadid=5545&sid=

And about that, lfroen, did you find the ethereal lo I send you any useful?
Logged

atash_000

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: amuled gradually decreases downloading and dies
« Reply #10 on: April 04, 2005, 10:18:20 PM »

tnx for ur replies .

i am going to recompile the whole amule to make sure about  the debug info.

btw, is there a suggested number of concurent files to be put for download!

i mean can so many of files make amuled die ?!

tnx again/
Logged

lfroen

  • Guest
Re: amuled gradually decreases downloading and dies
« Reply #11 on: April 05, 2005, 03:46:42 PM »

Quote
i mean can so many of files make amuled die ?!

You seem to messing up 2 things "num of files in queue" and "num of connections". You can have as many files in queue as you like. But, maximum number of connections in amuled can not exceed 1000. I would recommend to set it about 700.

BeFalou: your trace looks ok. Do you still have this problem ?
Logged

atash_000

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: amuled gradually decreases downloading and dies
« Reply #12 on: April 05, 2005, 07:59:21 PM »

actualy i am aware of the max num of connections ;) and the number of files downloading ;)
i was just talking about both of them :D

in fact the same problem has not occured again. but i don't remember that i have ever had amuled runing for more than 2 continious days!!
it crashes, or stops functioning ,

anyway this is the two last crashes
i promise i will send better trace backs in future ....

tnx for ur attention

--------------------
CServerSocket: destroying socket 0x86aa3e0

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 98311 (LWP 4189)]
0x401d103c in GSocket::Select () from /usr/local/lib/libwx_base_net-2.5.so.3
(gdb) ECSocket::ReadBufferFromSocket error The socket is non-blocking and the operation would block
ECSocket::WriteBufferToSocket error The socket is non-blocking and the operation would block
ECSocket::WriteBufferToSocket error The socket is non-blocking and the operation would block
ECSocket::WriteBufferToSocket error The socket is non-blocking and the operation would block
ECSocket::WriteBufferToSocket error The socket is non-blocking and the operation would block

(gdb) bt full
#0  0x401d103c in GSocket::Select ()
   from /usr/local/lib/libwx_base_net-2.5.so.3
No symbol table info available.
#1  0x401cca83 in wxSocketBase::_Wait ()
   from /usr/local/lib/libwx_base_net-2.5.so.3
No symbol table info available.
#2  0x401ccc04 in wxSocketBase::WaitForLost ()
   from /usr/local/lib/libwx_base_net-2.5.so.3
No symbol table info available.
#3  0x0814ca01 in CServerSocketHandler::Entry (this=0x86aa538)
    at ServerSocket.cpp:140
No locals.
#4  0x401724af in wxThreadInternal::PthreadStart ()
   from /usr/local/lib/libwx_base-2.5.so.3
No symbol table info available.
#5  0x4017237c in wxPthreadStart () from /usr/local/lib/libwx_base-2.5.so.3
No symbol table info available.
#6  0x4003154e in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x400315df in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#8  0x4051ab8a in clone () from /lib/libc.so.6
No symbol table info available.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------

aMule version is: CVS using wxGTK2 v2.5.3 (Snapshot: Thu Mar 31 07:01:23 CEST 2005)
Running on: Linux 2.6.10-ck5 i686

  • ?? in amuled [0x80fda49]
  • [1] ?? in amuled
[0x805e208]
[2] wxFatalSignalHandler in /usr/local/lib/libwx_base-2.5.so.3[0xb7f4eb36]
[3] ?? in /lib/libpthread.so.0 [0xb7f90c85]
[4] ?? in [0xffffe420]
[5] ?? in amuled [0x80eb5db]
[6] ?? in amuled [0x80f3dba]
[7] ?? in amuled [0x80c584b]
[8] ?? in amuled [0x80f3471]
[9] ?? in amuled [0x80c5922]
[10] ?? in amuled [0x806e10a]
[11] ?? in amuled [0x8116cce]
[12] ?? in amuled [0x80980ac]
[13] ?? in amuled [0x805e94f]
[14] ?? in amuled [0x8062eb3]
[15] wxEntry(int&, char**) in /usr/local/lib/libwx_base-2.5.so.3[0xb7eeee41]
[16] ?? in amuled [0x8062a31]
[17] __libc_start_main in /lib/libc.so.6[0xb7ac9469]
[18] ?? in amuled [0x8053521]

--------------------------------------------------------------------------------
Aborted
Logged

lfroen

  • Guest
Re: amuled gradually decreases downloading and dies
« Reply #13 on: April 05, 2005, 09:33:26 PM »

Quote
0x401d103c in GSocket::Select () from /usr/local/lib/libwx_base_net-2.5.so.3

That is exactly what I mean: you have too many sockets. Decrease number of connections.
Logged

atash_000

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: amuled gradually decreases downloading and dies
« Reply #14 on: April 05, 2005, 09:38:18 PM »

tnx ifroen

i decreased the max connections from 1000 to 700
let's see what happens
Logged
Pages: [1] 2