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

Submitted by:  Roland Arendes <chemical>
Submitted on:  Mon 16 Feb 2004 07:19:14 AM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: Program malfunctionStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: CVS 2.5.8Release: 2.5.[5-9]
Operating System: LinuxBinaries Origin: CVS / Self compiled
CPU type: None

(Jump to the original submission 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 7 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 27 Apr 2004 08:21:49 AM UTCspiralvoiceStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Wed 03 Mar 2004 07:32:41 AM UTCchemicalCarbon-CopyRemoved chem --AT-- gmx --DOT-- net=>-
Tue 02 Mar 2004 09:08:40 PM UTCspiralvoiceItem GroupNone=>Program malfunction
  ReleaseNone=>2.5.[5-9]
Tue 02 Mar 2004 08:10:14 PM UTCt8mCarbon-Copy-=>Added t8m
Mon 16 Feb 2004 07:19:14 AM UTCchemicalCarbon-Copy-=>Added chem --AT-- gmx --DOT-- net

Back to the top


Powered by Savane 3.1-cleanup1