bugmldonkey, a multi-networks file-sharing client - Bugs: bug #7738, Adding Links stalls mldonkey for...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #7738: Adding Links stalls mldonkey for each ~10 seconds

Submitter:  Roland Arendes <chemical>
Submitted:  Mon 16 Feb 2004 07:19:14 AM UTC
 
Category:  Core Severity:  3 - Normal
Item Group:  Program malfunction Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  2.5.[5-9] Release:  CVS 2.5.8
Operating System:  Linux Binaries Origin:  CVS / Self compiled
CPU type:  None
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

( Jump to the original submission )

Mon 19 Apr 2004 07:43:43 AM UTC, comment #7: 

Yes, the bug is fixed with -18. Thanks!

Roland Arendes <chemical>
Sat 17 Apr 2004 02:06:31 AM UTC, comment #6: 

Please try CVS 2-5-18, the bug should be fixed:
2004/04/06: Fabrice
  - CommonGlobals: only execute 'do_at_exit' in the main process, not
      in the forked ones (should solve bug #7738).

spiralvoice <spiralvoice>
Project Administrator
Tue 13 Apr 2004 08:12:02 AM UTC, comment #5: 

Thanks HighTime, this fixed the issue.
Please remove ./mlprogress in the default CVS so that won't happen again.
(Why does calling a script that does not exist take so much time?)

Roland Arendes <chemical>
Sat 06 Mar 2004 01:40:35 PM UTC, comment #4: 

It's file_started_cmd so use : set file_started_command ""

HighTime <HighTime>
Sat 06 Mar 2004 11:53:30 AM UTC, comment #3: 

What's in your file_started_command? If it's ./mlprogress you can try to check if
1) mlprogress is in mldonkey binary dir
2) remove it : set file_started_command ""
solve the problem.
(BTW --disable-multinet --enable-bittorrent or something like that should work)

HighTime <HighTime>
Wed 25 Feb 2004 07:16:52 AM UTC, comment #2: 

I'm using this configure:

./configure --disable-gui --disable-audiogalaxy --disable-opennap --disable-openft --disable-cymes --enable-batch  --enable-pthread-lib --disable-gnutella --disable-directconnect --disable-soulseek --disable-fasttrack --disable-gnutella2

It runs actually on a SMP system with 4 entries in the processlist:

donkey    1683 14.8 10.2 126956 119392 ?     S    Feb19 1175:51 ./mldonkey
donkey    1696  0.0 10.2 126956 119392 ?     S    Feb19   0:11 ./mldonkey
donkey    1697  0.0 10.2 126956 119392 ?     SN   Feb19   0:03 ./mldonkey
donkey    1703  0.1 10.2 126956 119392 ?     SN   Feb19  11:14 ./mldonkey

Roland Arendes <chemical>
Wed 25 Feb 2004 12:02:01 AM UTC, comment #1: 

Did you compile your core using pthreads?

spiralvoice <spiralvoice>
Project Administrator
Mon 16 Feb 2004 07:19:14 AM UTC, original submission:  

Since a few versions I noticed a huge slowdown of mldonkey while adding new links. Now I found it accidentally:

Please REMOVE "saving" the ini's after adding one file. While mldonkey saves its data, all other processes (sources management, sources connection, gui, up+download, ..) are stalling.
This takes about 10 seconds on my machine and it takes at least half an hour before mldonkey is back on speed where it originally was.

While adding several links at once, this becomes really cruel. mldonkey got stuck in a save-options-loop while adding 20 links at once (it does save_options right 20 times directly after another!, mldonkey full freeze for more than a minute!!!!).

[...]
SAVING SHARED FILES AND SOURCES
SAVING SHARED FILES AND SOURCES
SAVING SHARED FILES AND SOURCES
SAVING SHARED FILES AND SOURCES
SAVING SHARED FILES AND SOURCES
SAVING SHARED FILES AND SOURCES
SAVING SHARED FILES AND SOURCES
SAVING SHARED FILES AND SOURCES
SAVING SHARED FILES AND SOURCES
SAVING SHARED FILES AND SOURCES
SAVING SHARED FILES AND SOURCES
SAVING SHARED FILES AND SOURCES
SAVED
SAVED
SAVED
SAVED
SAVED
SAVED
SAVED
SAVED
SAVED
SAVED
SAVED
SAVED
Options correctly saved
Options correctly saved
Options correctly saved
Options correctly saved
Options correctly saved
Options correctly saved
Options correctly saved
Options correctly saved
Options correctly saved
Options correctly saved
Options correctly saved
Options correctly saved
SIGCHLD
SIGCHLD
Exception execv failedon ./mlprogress: No such file or directory while
starting file_completed_cmd
starting file_completed_cmd
starting file_completed_cmd
SAVING SHARED FILES AND SOURCES
SAVING SHARED FILES AND SOURCES
SAVED
SAVED
Options correctly saved
Options correctly saved
SIGCHLD
Exception execv failedon ./mlprogress: No such file or directory while
starting file_completed_cmd
SAVING SHARED FILES AND SOURCES
SAVING SHARED FILES AND SOURCES
SAVED
SAVED
Options correctly saved
Options correctly saved
[....]

Please remove this immediately. It is enough for mldonkey to save the current 'state' every save_options_delay. I even increased this to 1800 seconds. MLdonkey is running stable and does not really need this, as it
saves on "kill".

Or at least, please - send me a patch or tell me where at least I can remove this behaviour.

Thanks

Roland Arendes <chemical>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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.

Only logged-in users can vote.

 

 

 

 

Follow 7 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-04-27 spiralvoice StatusNone Fixed
    Open/ClosedOpen Closed
2004-03-03 chemical Carbon-CopyRemoved chem --AT-- gmx --DOT-- net -
2004-03-02 spiralvoice Item GroupNone Program malfunction
    ReleaseNone 2.5.[5-9]
2004-03-02 t8m Carbon-Copy- Added t8m
2004-02-16 chemical Carbon-Copy- Added chem --AT-- gmx --DOT-- net

Back to the top


Powered by Savane 3.9