bugmldonkey, a multi-networks file-sharing client - Bugs: bug #15765, Most shared files/dirs are not...


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

bug #15765: Most shared files/dirs are not shared 2

Submitted by:  vbnuy6 <gyhu94t>
Submitted on:  Thu 16 Feb 2006 01:10:55 AM UTC  
Category:  Core Severity:  3 - Normal
Item Group:  Program malfunction Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  >2.7.1 Release:  2.7.3
Operating System:  MinGW W2K/WinXP Binaries Origin:  Binary from Savannah
CPU type:  Intel x86

( Jump to the original submission)

Tue 04 Apr 2006 08:09:32 PM UTC, comment #11: 

It's OK now, I just made a stupid mistake. 
The problem is fixed here as of CVS 5011 - many thanks.

vbnuy6 <gyhu94t>
Tue 04 Apr 2006 12:06:41 PM UTC, comment #10: 

> Is there a pre-patched version anywhere?


> but patch freezes

what do mean with that?
http://mldonkey.sourceforge.net/Windows#Install_Ocaml does not work?

wget http://caml.inria.fr/pub/distrib/ocaml-3.09/ocaml-3.09.1.tar.bz2
tar -xjvf ocaml-3.09.1.tar.bz2
cd ocaml
patch -p2 -E -i ../ocaml_unicode.patch

does the trick here without problems.

spiralvoice <spiralvoice>
Project Administrator
Thu 30 Mar 2006 07:10:34 PM UTC, comment #9: 

THanks - have been trying to patch ocaml (3.09.0 and 3.09.1, patch #4515) to this end but patch freezes and does nothing.  The core will be running in a non-ASCII locale and most of the affected filenames are Japanese so presumably Unicode is needed.  Is there a pre-patched version anywhere?

vbnuy6 <gyhu94t>
Wed 22 Mar 2006 08:19:47 PM UTC, comment #8: 

Patch #4979 fixed another related bug:

Its in current CVS so you have to compile a core yourself.
Please test.

spiralvoice <spiralvoice>
Project Administrator
Mon 27 Feb 2006 08:16:46 PM UTC, comment #7: 

My userid contains no spaces.
The problem dirs are the 2nd, 3rd and 4th.

 shared_directories = [
  {     dirname = "C:\\Program Files\\mlnet\\incoming\\high_priority"
     networks = []
     strategy = only_directory
     priority = 5
  {     dirname = "C:\\Documents and Settings\\xxx\\My Documents\\documentation\\sound engineering\\textbooks"
     networks = []
     strategy = all_files
     priority = 5
  {     dirname = "C:\\Documents and Settings\\xxx\\My Documents\\documentation\\sound engineering\\AES"
     networks = []
     strategy = all_files
     priority = 3
  {     dirname = "C:\\Documents and Settings\\xxx\\My Documents\\music\\japan"
     networks = []
     strategy = all_files
     priority = 0
  {     dirname = "D:\\share"
     networks = []
     strategy = all_files
     priority = 0
  {     dirname = "incoming\\directories"
     networks = []
     strategy = incoming_directories
     priority = 0
  {     dirname = "incoming\\files"
     networks = []
     strategy = incoming_files
     priority = 0
  {     dirname = "./incoming"
     networks = []
     strategy = all_files
     priority = 0

vbnuy6 <gyhu94t>
Mon 27 Feb 2006 07:05:48 PM UTC, comment #6: 

Please post the complete option block shared_directories in downloads.ini

spiralvoice <spiralvoice>
Project Administrator
Mon 27 Feb 2006 05:47:16 PM UTC, comment #5: 

verbosity = share
there are messages like
[cSha] Sharing C:\path\to\problem\share prio 0
but never (as with the correctly shared dirs)
[cSha] Sharing sub-directory C:\path\to\problem\share\something
so it does seem these dirs are not being traversed.
(BTW enabling logging also seems to enable output to stdout - can crash the windoze terminal.  Also log_file_size is ignored.)

vbnuy6 <gyhu94t>
Mon 27 Feb 2006 03:04:13 AM UTC, comment #4: 

No, only network stuff and eg
2006/02/27 **:**:** [cF] best_name of "urn_ed2k_***" changed to "***"
2006/02/27 **:**:** [cF] best_name of "***" changed to "***"
2006/02/27 **:**:** [cCO] New downloading file - check complete
2006/02/27 **:**:** [EDK] send_new_shared: found master server ***.***.***.***:****
2006/02/27 **:**:** [EDK] Sending *** share(s) to server ***.***.***.***:****(***)
2006/02/27 **:**:** [EDK] send_new_shared: Sent *** new shared files to servers
- nothing directly related to traversing shared dirs.

vbnuy6 <gyhu94t>
Mon 27 Feb 2006 01:46:30 AM UTC, comment #3: 

Any messages in log_file? If not, please try verbosity "verb"

spiralvoice <spiralvoice>
Project Administrator
Mon 27 Feb 2006 12:09:28 AM UTC, comment #2: 

That's what I was hoping but the problem persists in 2.7.4 - 'Shared(575): 34.54G' (should be 60-70G)
1. It doesn't seem to matter
-whether files are opened (read-only) by another app;
-in what order the shares are listed in downloads.ini.
If a few files in the user-defined shares are removed, others that were missing are detected, so there seems to be a limit on the number of shared files.
2. I tried deleting shared_files.ini and shared_files_new.ini but no difference.
While hashing was in progress, the total share size was seen to decrease (from 44.1GB to 34.6 GB.)
3. It seems that the contents of several user shares with paths >=6 levels deep (more than the other shares) are missing entirely.
4. Files in ./incoming/files are detected correctly (regardless of path depth.)
Hope this is of use & thanks again.

vbnuy6 <gyhu94t>
Thu 16 Feb 2006 07:54:43 AM UTC, comment #1: 

In the next release 2.7.4 this patch will be used (already in CVS):

4849: EDK: Fix hashing of newly shared files
- avoid hashing shared files twice
- avoid problems while hashing big files
- remove obsolete compute_md4_delay option

This could help with your problem.

spiralvoice <spiralvoice>
Project Administrator
Thu 16 Feb 2006 01:10:55 AM UTC, original submission:  

Although this looks identical to #14540 I am posting because:
-It is supposed to be fixed

At least since 2.7.1 and as of at least 2.7.3:
-Shared dirs ammount to >69GB but only 35.38GB of files are detected.
-Files that should be shared are missing froom the uploads list.

Some of the paths contain non-ASCII chars (but some of the missing files have all-ASCII paths, whereas some with non-ASCII paths are correctly shared.)

All shares are 'all_files'.

Thanks for all your work.
Binary package DLed from sourceforge.

MLNet Multi-Network p2p client version 2.7.3
Networks: Global Shares  Gnutella  G2  Fasttrack  FileTP  BitTorrent  Donkey
Ocaml version: 3.09.0
Build on: MINGW32_NT-5.1 i686 1.0.11(0.46/3/2) (little endian)
Features: threads zlib-1.2.3 bzip2-1.0.3 gd(jpg/png-1.2.8) iconv no-check-bounds

Enabled Networks:  Donkey Overnet Fasttrack FileTP
Server usage: enabled
This product includes GeoLite data created by MaxMind, available from http://maxmind.com/
IP blocking enabled: 93832 ranges loaded - optimized to 81770
System info: Microsoft Windows XP Professional Service Pack 1 (Build 2600)
Uptime: 2d 7h 17m 43s - Language: JA - locale: CP932 - UTC offset: +0000
 max_string_length: 16777211 - word_size: 32 - max_array_length: 4194303
 max file descriptors: 1024 - max useable file size: 2^63-1 bits (do the maths ;-p)

vbnuy6 <gyhu94t>


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 add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-04-04 spiralvoice StatusNone => Fixed
    Open/ClosedOpen => Closed

Back to the top

Powered by Savane 3.5