bugmldonkey, a multi-networks file-sharing client - Bugs: bug #8344, downloads pausing themself

 
 

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

bug #8344: downloads pausing themself

Submitter:  None
Submitted:  Sun 28 Mar 2004 07:27:05 PM UTC
   
 
Category:  eDonkey-Plugin Severity:  3 - Normal
Item Group:  Program malfunction Status:  None
Assigned to:  None Open/Closed:  Closed
Release:  2-5-17 Release: 
Operating System:  Linux Binaries Origin:  CVS / Self compiled
CPU type:  Intel x86

Jump to the original submission

Thu 16 Dec 2004 03:11:34 PM UTC, comment #10: 

i'm just trying to help.
I got these automatic pausing with my MLNet 2.5-16r.
I finally realized that I was logging in root while my previous sessions were runned as a normal user. All temp files were now owned by root. I chowned them back to the normal user and ran mlnet under the normal user account as usual. Now it works.

Nb Really <nobodyreally>
Wed 25 Aug 2004 05:14:29 AM UTC, comment #9: 

Actually, I cannot reproduce this bug with 2.5.28. The only reason files paused itself are due to insufficient diskspace.
Have you force-checked your fs?

Roland Arendes <chemical>
Tue 24 Aug 2004 09:47:48 PM UTC, comment #8: 

The same problems with 2.5.22 - seems this bug closed too early...

Anonymous
Fri 04 Jun 2004 06:34:37 AM UTC, comment #7: 

I've got exactly the same with mldonkey 2.5-21c.

Anonymous
Mon 03 May 2004 10:35:18 PM UTC, comment #6: 

just a detail for the aforementioned script:
...
send "resume all"
...
should work fine too.

Anonymous
Mon 19 Apr 2004 07:53:33 PM UTC, comment #5: 

fixed in CVS 2-5-18

spiralvoice <spiralvoice>
Group administrator
Fri 16 Apr 2004 09:30:56 AM UTC, comment #4: 

A temporary workaround I use is I just look up the files that exhibit this behaviour (for some reason it's always the same couple of files, a small part of the files auto pause, most files don't) and just write a script in "expect" to unpause them, then run that script on a regular basis.

The script looks like this:

* Begin script *
#!/usr/bin/expect -f
 
spawn telnet localhost 4000
expect "> "
send "auth username password\r"
sleep 1
expect "Full Access Enabled"
send "resume 104\r"
sleep 1
send "resume 98\r"
sleep 1
send "q\r"

* End Script***

Fill in your own username/pass combination, and of course the indices of the problematic files (104 and 98 in my case).

Then I just start a screen session and in there I run the command with:

while (true) ; do sleep 60 ; ./mldonkey-unpause ; done

Yup, I know, shoddy workaround, but it beats babysitting a file that auto-pauses every couple of minutes and that's only downloaded for 50/350 MB...

Anonymous
Wed 14 Apr 2004 09:26:29 PM UTC, comment #3: 

I tried a full fsck on my clean filesystems. Nothing reported by fsck, so i guess the problem is not there. The problem is visible on NetBSD's FFS with softdep and Linux's ext3.

Karsten Kruse - tecneeq at tecneeq.de

Anonymous
Sat 10 Apr 2004 08:07:56 PM UTC, comment #2: 

the negative offset does not seem to be caused by a FS-problem. more the result of some network-io related error ("uh, socket dead") causing an out-of-order write with a buffer that is not full yet, but passing the buffersize to write instead of the how-much-bytes-in-buffer-right-now. look at the example above ("pos" == ("string length" - "len")) and (pos < 0) has been true for all cases of sudden-pause logged here.

i tried tracing code to figure out who passes the wrong arg, but i do not know enough ocaml.

Anonymous
Wed 07 Apr 2004 07:02:19 AM UTC, comment #1: 

I can confirm this issue, seems to be in conjunction with the unix.write-function and/or a possible damaged file system which should be unmounted and checked by fsck even if its "clean"

Roland Arendes <chemical>
Sun 28 Mar 2004 07:27:05 PM UTC, original submission:  

ed2k downloads go to "paused" state infrequently for no obvious reason. this has been observed for some time now, the last version i am pretty sure to not see it with was 2.5.3

after uncommenting some printf in donkeyOneFile.ml the "reason" shows up in the log:

Exception in really_write: pos=-10380 len=20810, string length=10430
...
Error Invalid_argument("Unix.write") while writing block
File paused.

all the observed auto-pausings involved a negative pos.

Anonymous

 

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

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.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2004-04-19 spiralvoice Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code