mldonkey, a multi-networks file-sharing client - Bugs: bug #12384, mld hangs and uses all cpu if max...
You are not allowed to post comments on this tracker with your current authentication level.
bug #12384: mld hangs and uses all cpu if max sources <20k
Submitter: | None | ||
Submitted: | Sun 20 Mar 2005 07:54:18 AM UTC | ||
Category: | Core | Severity: | 3 - Normal |
Item Group: | Program malfunction | Status: | Fixed |
Assigned to: | None | Open/Closed: | Closed |
Release: | 2-5-30 | Release: | |
Operating System: | Linux | Binaries Origin: | CVS / Self compiled |
CPU type: | Intel x86 |
Jump to the original submission
Mon 28 Mar 2005 11:07:56 AM UTC, comment #22: |
Amorphous <amorphous> |
Sun 27 Mar 2005 01:12:18 PM UTC, comment #21: the patch was diffed the wrong way. i correctly applied it in my branch in svn revision 243 . |
Amorphous <amorphous> |
Fri 25 Mar 2005 06:06:26 PM UTC, comment #20:
|
Fritz Mock <surround> |
Wed 23 Mar 2005 03:11:29 PM UTC, comment #19: Ok, gave the new branch a go. Strange enough it failed to connect to any server directly on the first go as i was not using the default 4662 port. The port itself was working before. The core was running stable, but useless :-) After changing it to the default one it took 7-15 minutes to get an unresponsive core again. I've compiled the debug one again now .....
|
Anonymous |
Wed 23 Mar 2005 05:41:22 AM UTC, comment #18: I just commited the change surround talked about, into my svn branch as revision 237. Perhaps this helps. |
Amorphous <amorphous> |
Tue 22 Mar 2005 09:15:29 PM UTC, comment #17: @Amorphous
|
Christophe PEREZ <novazur> |
Tue 22 Mar 2005 08:05:39 PM UTC, comment #16:
|
Fritz Mock <surround> |
Tue 22 Mar 2005 05:11:56 PM UTC, comment #15: please see the backtrace in duplicate savannah bug #12420
|
Amorphous <amorphous> |
Mon 21 Mar 2005 08:41:38 PM UTC, comment #14: this should be fixed. sourcemanagement should not get stuck in a loop even if it would be realy inefficient for smaller values of max_sources (what happens if a souce has 40k files does it still loop with a limit of 20k?).
|
Amorphous <amorphous> |
Mon 21 Mar 2005 05:12:05 PM UTC, comment #13: Seems to work fine now, after an hour, and 20000 max_sources.
|
Christophe PEREZ <novazur> |
Mon 21 Mar 2005 03:54:22 PM UTC, comment #12: 256 was pretty low, default values are 200 direct and 100 indirect connections. Maybe this change from SVN 227 to 228 is responsible for the different behaviour:
|
spiralvoice <spiralvoice> |
Mon 21 Mar 2005 03:29:35 PM UTC, comment #11: i set now ulimit -n 800 (was 256) and will see what happens
|
Anonymous |
Mon 21 Mar 2005 03:16:07 PM UTC, comment #10: @comment #9:
|
spiralvoice <spiralvoice> |
Mon 21 Mar 2005 01:42:04 PM UTC, comment #9: i have a similiar problem. no high CPU load but non responsivness of the core (web interface) and network traffic is going towards zero. but it recovers mostly after some minutes.
|
Anonymous |
Mon 21 Mar 2005 10:42:07 AM UTC, comment #8: oh please check before you try debugging, that your max sources setting is 20000 (the default), if not try if that fixes it.
|
Amorphous <amorphous> |
Mon 21 Mar 2005 07:56:51 AM UTC, comment #7: you could compile mldonkey from the sources (30ab or 30-1) as follows (replace "foo" with all the configure options you did use to compile):
|
Amorphous <amorphous> |
Mon 21 Mar 2005 03:28:42 AM UTC, comment #6: So, what can I do to give you more information ?
|
Christophe PEREZ <novazur> |
Mon 21 Mar 2005 01:17:59 AM UTC, comment #5: i woun't help, 30-1 is not different enough from 30c. i think i can't find out why that happens without debugging the core on a system where it happens (some people reported something similar, but here the core runs fine for days). it seems like an infinite loop, if i know where the core loops, i should be able to fix it. |
Amorphous <amorphous> |
Mon 21 Mar 2005 12:55:47 AM UTC, comment #4: I used ocaml 3.08.2 yesterday and after 3.08.3 today.
|
Christophe PEREZ <novazur> |
Sun 20 Mar 2005 11:26:36 PM UTC, comment #3: what ocaml version did you use? could you try if the same happens with 2.5.30-1 (from spiralvoice and in cvs) or 2.5.30ab (from me). |
Amorphous <amorphous> |
Sun 20 Mar 2005 05:25:35 PM UTC, comment #2: Thanks Anonymous ;-)
|
Christophe PEREZ <novazur> |
Sun 20 Mar 2005 01:13:42 PM UTC, comment #1: english translation
|
Anonymous |
Sun 20 Mar 2005 07:54:18 AM UTC, original submission:
Hi,
|
Anonymous |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 11 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2005-04-04 | spiralvoice | Open/Closed | Open | Closed | |
2005-03-31 | spiralvoice | Open/Closed | Closed | Open | |
2005-03-30 | spiralvoice | Open/Closed | Open | Closed | |
2005-03-27 | amorphous | Status | None | Fixed | |
2005-03-25 | surround | Attached File | - | Added sm_fix.patch, #2353 | |
2005-03-21 | amorphous | Open/Closed | Closed | Open | |
2005-03-21 | amorphous | Status | Wont Fix | None | |
Summary | processor going mad | mld hangs and uses all cpu if max sources <20k | |||
2005-03-21 | spiralvoice | Status | Need Info | Wont Fix | |
Open/Closed | Open | Closed | |||
2005-03-21 | amorphous | Status | None | Need Info |
Powered by Savane 3.13-f8d8.
Corresponding source code
link to the patch
https://opensvn.csie.org/viewcvs.cgi/branches/amorphous-compilation/src/daemon/common/commonSources.ml?p2=%2Fbranches%2Famorphous-compilation%2Fsrc%2Fdaemon%2Fcommon%2FcommonSources.ml&p1=branches%2Famorphous-compilation%2Fsrc%2Fdaemon%2Fcommon%2FcommonSources.ml&r1=236&r2=243&rev=243&root=mlnet&view=diff&makepatch=1&diff_format=u