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: low id stuff  (Read 11420 times)

m2kio

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 152
    • http://little-bat.de
low id stuff
« on: March 05, 2005, 04:18:39 PM »

still bothers me.

(1) i still get low id from most servers and is definitely depends on the server, whether i get low or high id:

((list sorted by users))

razorback .. low
donkeysever no.1 .. low
donkeysever no.3 .. low
81.23.250.167 .. 50/50
byte devils .. low
ChezToff .. high
Breizh Digitalus .. high
Donkeyserver No.2 .. low
193.151.74.81 .. high

up to rc8 AFAIR i had no problems getting a high id.

... m2kio !
Logged

sssnake

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
  • Don't eat the yellow snow (F. Zappa)
RE: low id stuff
« Reply #1 on: March 05, 2005, 11:02:26 PM »

Strange. I tried all of your server which should have got me low id and I always get high Id. Useing new binary from lionel). With rc8, it was OK too.
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: low id stuff
« Reply #2 on: March 06, 2005, 10:11:06 AM »

Do you have an ipfilter.dat (or similar filter)?

According to this post, Razorback requires more than one IP address (195.245.244.240 - 195.245.244.243) to be allowed through your filters.  Could this be the problem?

If so, maybe the other servers have a similar requirement.

It may also be that your ISP is filtering connections from those servers in an attempt to discourage P2P use.

You might try a packet sniffer and see what happens on the wire.
Logged

m2kio

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 152
    • http://little-bat.de
Re: low id stuff
« Reply #3 on: March 06, 2005, 03:53:44 PM »

hi,
i'm using an ip-filter.dat, but haven't changed it since months.
no ports blocked (outgoing), the 3 required ingoing ports forwarded.

today i restarted amule and got suddenly dl rates of approx. 4x as high as up to then. for 1/2 h. then amule crashed. restarting failed (assert(0)) 2nd restart took xxlong for indexing. now up ok, but i get many unusual errors on the console:

*** malloc: vm_allocate(size=1073745920) failed (error code=3)
*** malloc[1638]: error: Can't allocate region
*** malloc: vm_allocate(size=2147487744) failed (error code=3)
*** malloc[1638]: error: Can't allocate region
((note: amule is at 1.9 GB VM right now...))

Couldn't send hello packet (client deleted?)
((note: much more than usual))

Brrrrrr wrong UDP packet from server! (Unknown server on a OP_GLOBSERVSTATRES packet (194.242.113.240:4642))

Brrrrrr wrong UDP packet from server! (Invalid challenge on OP_GLOBSERVSTATRES packet (0x55aa7073 != 0x55aa145c))

... m2kio !
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: low id stuff
« Reply #4 on: March 06, 2005, 08:04:49 PM »

That sounds like something got corrupted in your .met files or something.

You can track down the source of those malloc messages by putting a breakpoint on malloc_printf and printing backtraces when it is hit.  Then you can continue.  When you feel you have a representative sampling of the source(s) of these messages, you can delete or disable the breakpoint.  Here's a set of gdb commands which will automate the process of grabbing a few backtraces on malloc_printf for you:
Code: [Select]
break malloc_printf
set $count = 0
commands
silent
if $count < 8
bt
set $count = $count + 1
end
cont
end
[EDITED to include the all-important increment step.]

Note that even after the 8 backtraces, the breakpoint is still in effect, it's just continuing immediately.  This means there's a small performance hit for each subsequent malloc message printed.  If you like, just Ctrl-C to interrupt the program, disable the breakpoint, and continue.  I would have had the breakpoint disable itself after the 8 backtraces, but gdb seems a bit buggy.  When I've tried that in the past, it's crapped out on me.

After that, you might consider renaming your ~/.aMule directory and starting fresh.  Start aMule once so it will create the necessary files in that directory and then you can move your Temp files back in to test.
Logged

m2kio

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 152
    • http://little-bat.de
low id / malloc stuff
« Reply #5 on: March 13, 2005, 03:31:17 PM »

hi,
sorry for the long delay in answering, but i actually had already replied but the msg seems lost. (maybe i closed the browser tab before submitting :] )

malloc: after some aMule crashes i removed all newly added dl's and the malloc problem was gone and no longer showed up.

i still get some "Brrrrrr wrong UDP packet from server! (Invalid challenge on OP_GLOBSERVSTATRES packet (0x55aa112f != 0x55aab97f))" messages and quite often "Couldn't send hello packet (client deleted?)"
 
low id: i tried to traceroute to the servers giving me low id and found out, i cannot traceroute through my router. i don't know too much about ip routing and so i absolutely cannot tell why.

for that reason i updated my router's software, but this didn't change nothing.

after that i had to reconfigure the router (saveing settings to file and reloading after firmware update does not work. off course not!) i found that after (trying to) connecting to a server i get some ip packets to different ports which were dropped by the router. i thought this may be the problem and set my mac as exposed host, firewall disabled, but that didn't remedy the problem. still getting low id from most servers, only some (i currently use 213.186.60.106 (ChezToff) and 81.23.250.167) give me high id most times.

btw: a new build from lionell would be fine.  :rolleyes:

... m2kio !
Logged

lionel77

  • Provider of Mac builds, Forum Mod
  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1107
  • Mac OS X 10.4 (Power Mac G5)
RE: low id / malloc stuff
« Reply #6 on: March 16, 2005, 05:40:15 AM »

Quote
Originally posted by m2kio
btw: a new build from lionell would be fine.  :rolleyes:
at your service ;)
Logged
Current aMule CVS builds for OS X can be found here.

m2kio

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 152
    • http://little-bat.de
RE: low id / malloc stuff
« Reply #7 on: March 18, 2005, 05:36:22 PM »

Quote
Originally posted by lionel77at your service[/URL] ;)

Thanks.  :)

i occassionally succeeded in compiling it on my own, cvs-2005-03-16 + wxMac cvs-2005-03-16 happened to compile and link. But the prominent wx bug, where printing to the scrollview is messed up every time is still present. so i happily dl'ed yours.

.. m2kio !
Logged

m2kio

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 152
    • http://little-bat.de
RE: gdb
« Reply #8 on: March 22, 2005, 01:49:48 PM »

hi ken,

i noticed again 2GB mallocs and tried the gdb stuff. as already stated i'm not used to this.
after starting with

bash: gdb amule

i entered the gdb commands. but amule was not started by gdb as i would have expected, so i started it thereafter from the finder, gdb still open and waiting in a terminal window. will this do it? or should amule have been started before?

and where are the backtraces stored?

... m2kio !
« Last Edit: March 22, 2005, 02:10:17 PM by m2kio »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: low id stuff
« Reply #9 on: March 22, 2005, 05:57:22 PM »

You must type "run" on gdb
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
RE: gdb
« Reply #10 on: March 22, 2005, 08:29:14 PM »

Quote
Originally posted by m2kio
and where are the backtraces stored?

They are just printed in the terminal window, not saved somewhere in a file.
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

m2kio

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 152
    • http://little-bat.de
2GB mallocs...
« Reply #11 on: March 22, 2005, 09:39:34 PM »

Quote
Originally posted by Kry
You must type "run" on gdb

ah, so there was another all-important step ;)

ok, i attach a log.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: low id stuff
« Reply #12 on: March 22, 2005, 10:54:09 PM »

Statistics... let me take a look over it.
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
RE: 2GB mallocs...
« Reply #13 on: March 25, 2005, 10:20:29 AM »

Quote
Originally posted by m2kio
Quote
Originally posted by Kry
You must type "run" on gdb

ah, so there was another all-important step ;)

Sorry about that.  :)

I keep forgetting with whom I have and haven't done gdb stuff before.

[Edited: removed speculation (that I now believe was incorrect) about memory corruption bugs introduced by Xaignar's listctrl changes.  Sorry, Xaignar.  :)]
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: low id stuff
« Reply #14 on: March 25, 2005, 09:28:41 PM »

BTW, this is already fixed.
Logged
Pages: [1] 2