| View previous topic :: View next topic |
| Author |
Message |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Thu Jan 05, 2006 2:50 am Post subject: New release: MLDonkey 2.7.2 |
|
|
| Code: | 2006/01/05: version 2.7.2 = tag release-2-7-2
4764: Patch for MLDonkey-compiled Ocaml-3.09.1 to fix GTK1 oldgui compile
4763: Compile patch for GTK1 oldgui with Ocaml 3.09.1
Ocaml 3.09.1 has a bug which prevents compiling GTK1 oldgui.
A patch can be found here: http://caml.inria.fr/mantis/view.php?id=3948
2006/01/04
4761: Insert glibc version in archives build by release targets
4760: Allow use of Ocaml 3.09.1
MLDonkey can now be compiled with Ocaml 3.08.3/4, 3.09.0/1
Default for MLDonkey-compiled Ocaml is now 3.09.1
4759: Configure: Improve gcc check
4757: Compile patches for MorphOS (Christian Rosentreter)
4748: HTML: Allow rename of files with '#', '&' and '%',
remove invalid chars from filenames depending on OS (thx to pango)
4756: HTML: Print build- and runinfo on main page,
fix reload bug when changing html_mods/html_themes (Knocker)
2006/01/03
4751: Ease use of messages_filter option (pango)
4753: Allow upper case MD4 for ed2k-links in mldonkey_submit (fcrozat)
4754: New parameter --auth for mldonkey_command (plf team)
2006/01/02
4749: GUI: send shared sub_files to gui (zet)
2006/01/01
4712: Change terminal color for command line from blue to cyan (romildo)
4742: Log: remove verbosity "tor" & "file", improve verbosity "verb"
4743: EDK: Print "File is already shared" when trying to start downloading
an already shared file
4744: Split client_timeout into ED2K-client_timeout and BT-client_timeout,
increase BT-client_timeout to 90 (tradie)
4745: Update config.guess and config.sub to version 2005-12-23
2005/12/28
4725: Check if ulimit is sufficient for MLDonkey,
auto-adjust max_opened_connections
* moved ED2K-max_indirect_connections to downloads.ini
* max_indirect_connections is now a %-value of max_opened_connections
* minimum ulimit for open files is now 150 (most systems have 1024),
MLDonkey will refuse to start if ulimit is lower
* minimum max_opened_connections is now 75
* reduced max_concurrent_downloads from 60 to 50
* minimum ulimit -n 150 is used like this:
- 75 max_opened_connections
- 50 downloading files
- 5 upload slots
- 20 fd as reserve for ini files
4704: Fix some C compile warnings (schlumpf)
4739: Fix some cross-compiling obstacles, remove Ocaml 3.08.2 compatability
* Cross-compiling is only possible with a correct Ocaml toolchain
* MLDonkey can not build this Ocaml toolchain
* This patch only fixes some autoconf checks
4735: MinGW: pause before core exit because of existing Pid file
4736: New commands: sysinfo, runinfo and diskinfo
* removed temp_directory and core_directory from shares command output
* new commands sysinfo, runinfo and diskinfo
* buildinfo now prints only buildinfo
* runinfo prints run-time information
* new command diskinfo prints filesystem data about temp_directory,
core_directory and all shared dirs
* sysinfo prints buildinfo, runinfo and diskinfo alltogether
4712: Change terminal color for downloading files from blue to cyan (romildo)
2005/12/24
4732: Log: More infos for verbosity = " verb"
2005/12/21
4728: fix date format (zet)
4730: BT: parse path.utf-8 (zet)
2005/12/19
4726: New option space_overhead to adjust garbage collection (bogeyman)
4724: Windows: 10 seconds pause when core start fails
to make error messages readable
2005/12/18
4723: New build target: make ocamldoc (pango)
4721: Log: Improve output for verbosity "verb", remove verbosity "hid"
2005/12/17
4719: Fix linking of dp500 (pango)
4715: OV: Improve searching, longer ov timeout, some more bugfixes (bogeyman)
4718: Fix bug which prevented proper write to files introduced in patch #4694
4717: EDK: Removed unused variable file_md4s_to_register (bogeyman)
2005/12/16
4703: BT: Deactivate dead trackers,
re-enable them if no active trackers are found (pango)
4708: HTML upstats: Enable preview for shared files
4652: dllink: reject EDK files > 4GB, print access errors for .torrent files
2005/12/15
Removed orphaned files:
src/networks/donkey/donkeyFiles.mli
src/networks/donkey/donkeyInteractive.mli
src/networks/donkey/donkeyMain.mli
4710: Re-add some protocol information as comments removed by patch 4694
4709: Fix zip file extract broken due to patch 4694 (Ocaml 3.09)
4707: Fix recover_temp broken by patch 4674 (force_download)
2005/12/14
4706: EDK: Remove donkeyChunks, use commonSwarming for op_file_check
4702: Correct timezone in e-mail, nicer uptime, timezone and uptime in runinfo
4694: Fix lots of compile warnings in Ocaml 3.09
4705: Update config.guess and config.sub to version 2005-11-11
Mozilla MLdonkey Protocol Handler updated to version 1.7
2005/12/13
Removed orphaned files:
src/networks/fasttrack/fasttrack.ml
src/networks/gnutella/gnutella1.ml
src/networks/gnutella/gnutella.ml
src/networks/gnutella/gnutellaScheduler.ml
src/networks/gnutella/gnutellaZlib.ml
src/networks/gnutella2/g2Scheduler.mlt
src/networks/gnutella2/gnutella2.ml
4700: Log: New verbosity option "gui" to debug GUI protocol
4696: Fix some C compiler warnings
2005/12/10
4687: Compile fix for Ocaml 3.09.0 (gildor), MLDonkey can now be compiled
with Ocaml 3.08.[2,3,4] and Ocaml 3.09.x (4687_min2.patch)
4693: Compile patch in sha1.c for FreeBSD (lioux)
4689: Catch exception in file_completed_cmd to let commit complete
4691: file_completed_cmd: $DURATION in seconds (debonair) |
_________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Last edited by spiralvoice on Sun Jan 29, 2006 3:05 pm; edited 1 time in total |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Thu Jan 05, 2006 12:08 pm Post subject: |
|
|
Whay does this mean exacltly:
| Quote: | * minimum max_opened_connections is now 75
* reduced max_concurrent_downloads from 60 to 50
|
I suppose this is the number of efective downloaders (givin' data to us).
This choice 'll limit the maximum dwnload bandwith to 50*3Kbytes/sec =150Kbytes/sec
This consideration is due to the average emule's upload behaviour givin' about 3Kbytes/slot.
edit:I fear this will cause a download bottleneck of 150Kbytes/sec
I think you can set this value related to "current" max_opened_connection
edit:The bottleneck'll be related to the connection limit.
Hope I'm right, am I?
Cheers |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Thu Jan 05, 2006 1:33 pm Post subject: |
|
|
| fabtar wrote: | Whay does this mean exacltly:
| Quote: | * minimum max_opened_connections is now 75
* reduced max_concurrent_downloads from 60 to 50 |
|
max_concurrent_downloads means the number of downloading *files*
which can be active at the same time.
A file can have several downloaders at the same time so your assumption is wrong.
Default for max_opened_connections stays at 200, but there are OS like
NetBSD and OpenBSD which allow only ~100 open connections as default.
This is too low for MLDonkey to function well so I introduced a *minimum* of
150 file descriptors (connections, opened files) required for MLDonkey.
| Quote: | * minimum ulimit -n 150 is used like this:
- 75 max_opened_connections
- 50 downloading files
- 5 upload slots
- 20 fd as reserve for ini files |
MLdonkey refuses to start if ulimit < 150, on Windows and most Linux
system its default is 1024, so you donīt have to worry about it.
The main reason to write this patch was that users with 1024 file descriptors
(Linux standard) used MLDonkey with max_opened_connections 30000
and were wondering why MLDonkey paused downloads, threw CryptoPP errors
and so on. When MLdonkey used 900+ connections MLDonkey could not
open downloading files anymore to write data to them - thats the reason
the download paused - and other weird stuff.
A setting of max_opened_connections which is higher than the
allowed ulimit is automatically lowered to a reasonable value. In order to
not lowering it to 0 I introduced a minimum of 75 max_opened_connections. _________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks |
|
| Back to top |
|
 |
jormartr neophyte

Joined: 25 Sep 2004 Posts: 28 Location: Spain
|
Posted: Thu Jan 05, 2006 1:51 pm Post subject: |
|
|
to Spiralvoice:
2.7.2 is not still on your precompiled cores site. Waiting for it, it has a lot of changes that seem very good to mldonkey. |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Thu Jan 05, 2006 8:20 pm Post subject: |
|
|
[quote="spiralvoice"]
max_concurrent_downloads means the number of downloading *files*
which can be active at the same time.
A file can have several downloaders at the same time so your assumption is wrong.
| Quote: |
Ok, thanks for deep explanations.Very interesting indeed!!!
I perfectly undertood the motivations and I find your default very resonable.
Keep doing the good work!!
Cheers |
|
|
| Back to top |
|
 |
Rebel2k user

Joined: 03 Feb 2005 Posts: 58 Location: Germany
|
|
| Back to top |
|
 |
The_Countess neophyte

Joined: 19 Mar 2003 Posts: 29 Location: NL
|
Posted: Thu Jan 12, 2006 9:39 am Post subject: |
|
|
this is just a small mostly comsetic thing
but i upgraded from 2.7.1 to 2.7.2 but i kept my statistics file.
and now in the "total uptime" it says 75% of all connection were with trusted mld. and emule only has 5% and 2%. (im guessing the 2 have been switched)
in session uptime everything is normal. |
|
| Back to top |
|
 |
Rebel2k user

Joined: 03 Feb 2005 Posts: 58 Location: Germany
|
Posted: Mon Jan 16, 2006 8:27 am Post subject: |
|
|
latest CVS :
| Quote: | 2006/01/15
4797: EDK: Always put server connect requests in connection queue,
whether max_opened_connections is reached or not
Connection will be established later when a socket is available
2006/01/14
4796: Windows: Log proper warning when MaxUserPort is reached (thx to Enig)
4795: Mailer: Fix Subject encoding (bogeyman)
4716: BT: new command "tracker" to add trackers (bogeyman)
2006/01/12
4792: GeoIP: Add license (distrib/GeoIP_LICENSE.txt, runinfo)
This product includes GeoLite data created by MaxMind,
available from http://maxmind.com/
4776: EDK: Avoid LowID if max_indirect_connections is reached (thx to zet)
4787: EDK: Show server version (ported from Mulus - thx to Knocker),
disconnect blocked server after loading IP blocklist
2006/01/11
4790: Some logging stuff
4781: Disconnect connected server before removing
4782: Configure: Replace AC_CHECK_FILE with "test -d" to allow cross-compile
2006/01/09
4770: Change file opening mechanism, open rw only when needed (pango)
new verbosity option "file" to control Unix32 file handling
4777: Display IP:port for LowID clients, GUI protocol update (zet) |
source: http://mldonkey.dyndns.info/misc/mldonkey-2.7.2-CVS-01-16-06.tar.gz
static: http://mldonkey.dyndns.info/misc/mldonkey-2.7.2.CVS.static.i686-Linux_glibc-2.3.2.tar.bz2
Please test and report here!  _________________ MLDonkey / Mulus File Archive @ http://mldonkey.dyndns.info
UNIX is like a wigwam: no windows, no gates, apache inside, stable. |
|
| Back to top |
|
 |
Cain_ neophyte
Joined: 18 Jan 2006 Posts: 4 Location: USA
|
Posted: Wed Jan 18, 2006 3:01 am Post subject: Problems compiling on OS X 10.4.3 PPC |
|
|
Hi,
I was trying to compile the 2.7.2 release branch on OS X 10.4.3 PPC with ocaml version 3.09.0 and I keep getting a make error:
src/utils/lib/tiger.c: In function 'tiger_unsafe_string':
src/utils/lib/tiger.c:846: warning: pointer targets in initialization differ in signedness
src/utils/lib/tiger.c:847: warning: pointer targets in initialization differ in signedness
g++ -fno-omit-frame-pointer -o src/utils/lib/CryptoPP.o "-I/opt/local/lib/ocaml" -c src/utils/lib/CryptoPP.cc
src/utils/lib/CryptoPP.cc: In member function `virtual void CryptoPP::InvertibleRSAFunction::GenerateRandom(CryptoPP::RandomNumberGenerator&, const CryptoPP::NameValuePairs&)':
src/utils/lib/CryptoPP.cc:7905: error: cannot allocate an object of abstract type 'CryptoPP::NameValuePairs'
src/utils/lib/CryptoPP.h:609: note: because the following virtual functions are pure within 'CryptoPP::NameValuePairs':
src/utils/lib/CryptoPP.h:690: note: virtual bool CryptoPP::NameValuePairs::GetVoidValue(const char*, const std::type_info&, void*) const
make: *** [src/utils/lib/CryptoPP.o] Error 1
Any Ideas how to get it to compile?
Thanks! |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
|
| Back to top |
|
 |
Cain_ neophyte
Joined: 18 Jan 2006 Posts: 4 Location: USA
|
Posted: Wed Jan 18, 2006 7:12 pm Post subject: Re: Tiger Compiliation |
|
|
Thanks for the Info It Helped a lot!!!!
setting gcc_select 3.3 works great!!! Though setting the CXX="gcc3" environment variable didn't seem to work. The make script came back with:
gcc3 -fno-omit-frame-pointer -o src/utils/lib/CryptoPP.o "-I/opt/local/lib/ocaml" -c src/utils/lib/CryptoPP.cc
/bin/sh: line 1: gcc3: command not found
Now CryptoPP.cc and everything else compiles fine, but when it starts trying to link I get:
ocamlopt.opt -inline 10 -cc "g++" -linkall -o mlnet unix.cmxa str.cmxa -ccopt " " -cclib "-lcharset -lz -liconv" -cclib -lbz2 -cclib -lz -ccopt "-D_THREAD_SAFE " -I build build/cdk.cmxa build/common.cmxa build/client.cmxa build/core.cmxa build/driver.cmxa src/daemon/common/commonMain.cmx
ld: warning multiple definitions of symbol _locale_charset
/usr/lib/libcharset.dylib(localcharset.o) definition of _locale_charset
/usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
ld: Undefined symbols:
_fprintf$LDBLStub
_sprintf$LDBLStub
_sscanf$LDBLStub
Error during linking
make: *** [mlnet] Error 2
Any Ideas on Linking?
Thanks!!!!
Cain |
|
| Back to top |
|
 |
Cain_ neophyte
Joined: 18 Jan 2006 Posts: 4 Location: USA
|
Posted: Wed Jan 18, 2006 7:34 pm Post subject: More Info on OS X Tiger build: Configure & make mlnet.st |
|
|
I thought I'd mention. I had to do a "workaround" to get the configure script to work.
If you do a "make maintainerclean" then try to run ./configure you get:
no autoconf259 in /opt/local/bin /opt/local/sbin /bin /sbin /usr/bin /usr/sbin
Running Autoconf (autoconf259)...
./configure: line 40: autoconf259: command not found
So I instaled the autoconf 2.59 port from darwin ports... Still didn't work... Then I just made a link:
ln -s /opt/local/bin/autoconf /opt/local/bin/autoconf259
and it works... I guess I should submit a fix for the configure script... but it works for now...
Now that configure has run... If you try to use "make mlnet.static" you get:
ocamlopt.opt -inline 10 -I src/utils/cdk -I src/daemon/chat -I src/gtk/chat -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/gnutella -I src/networks/gnutella2 -I src/networks/fasttrack -I src/networks/fileTP -I src/networks/bittorrent -I src/networks/donkey -c src/daemon/common/commonMain.ml
File "src/daemon/common/commonMain.ml", line 20, characters 0-12:
Unbound module Printf2
make: *** [src/daemon/common/commonMain.cmx] Error 2
Cain |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
|
| Back to top |
|
 |
Cain_ neophyte
Joined: 18 Jan 2006 Posts: 4 Location: USA
|
Posted: Wed Jan 18, 2006 8:32 pm Post subject: Re OS X Build |
|
|
Yea!!!! It worked!!!!
Yes, I was on the track to recompiling ocaml with gcc 3.3 (using darwin ports)... Once it was installed and I compiled mlnet with no problems...
I can help out with the configure script. And the ocaml install doesn't work (I used darwin ports)... Just for refrence If ocaml isn't installed here's the error:
checking for wget... /Users/cain/mldonkey-source/mldonkey/config/wget
******** Objective-Caml 3.09.1 is required *********
******* Check http://caml.inria.fr/ ********
Do you want this script to try to download and install ocaml
LOCALLY in mldonkey directory ?
y
Downloading ...
host = caml.inria.fr
port = 80
path = /pub/distrib/ocaml-3.09/ocaml-3.09.1.tar.gz
outfile = ocaml-3.09.1.tar.gz
Connecting to 128.93.11.23
Connected
Downloaded
Uncompressing ...
gzip: /Users/cain/mldonkey-source/mldonkey/patches/ocaml-3.09.1.tar.gz: not in gzip format
./configure: line 4460: cd: ocaml-3.09.1: No such file or directory
Thanks for you're help and I'll work on the configure script...
-Cain |
|
| Back to top |
|
 |
|