| View previous topic :: View next topic |
| Author |
Message |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Thu Oct 26, 2006 9:02 am Post subject: |
|
|
Here is my current network section/options:
(Bt is curently disabled for safe ed2k usage)
| Code: |
client_name [client_name]= XXXXXXXXXXXX
Allowed IPs [allowed_ips]= 192.168.0.0/24 127.0.0.1
The port to connect the GUI [gui_port]= 4001
The port to connect for GiFT GUIs. [gift_port]= 0
The port to connect via HTTP [http_port]= 4080
The port to connect via telnet [telnet_port]= 4000
http_bind_addr [http_bind_addr]= 0.0.0.0
gui_bind_addr [gui_bind_addr]= 0.0.0.0
telnet_bind_addr [telnet_bind_addr]= 0.0.0.0
print_all_sources [print_all_sources]= true
improved_telnet [improved_telnet]= true
verbosity [verbosity]= ov verb
max_hard_upload_rate [max_hard_upload_rate]= 14
max_hard_download_rate [max_hard_download_rate]= 340
max_opened_connections [max_opened_connections]= 280
max_indirect_connections [max_indirect_connections]= 30
max_upload_slots [max_upload_slots]= 4
friends_upload_slot [friends_upload_slot]= true
small_files_slot_limit [small_files_slot_limit]= 200000
dynamic_slots [dynamic_slots]= false
max_connections_per_second [max_connections_per_second]= 14
loop_delay [loop_delay]= 20
No-limit IPs [nolimit_ips]= 127.0.0.1
copy_read_buffer [copy_read_buffer]= true
Options in section Networks:
enable_overnet [enable_overnet]= false
enable_kademlia [enable_kademlia]= true
enable_servers [enable_servers]= true
enable_bittorrent [enable_bittorrent]= false
enable_donkey [enable_donkey]= true
enable_opennap [enable_opennap]= false
enable_soulseek [enable_soulseek]= false
enable_gnutella [enable_gnutella]= false
enable_gnutella2 [enable_gnutella2]= false
enable_fasttrack [enable_fasttrack]= false
enable_directconnect [enable_directconnect]= false
enable_openft [enable_openft]= false
enable_fileTP [enable_fileTP]= true
client_ip [client_ip]= 82.52.174.112
force_client_ip [force_client_ip]= false
user_agent [user_agent]= default
ip_blocking_descriptions [ip_blocking_descriptions]= false
ip_blocking [ip_blocking]=
ip_blocking_countries [ip_blocking_countries]=
ip_blocking_countries_block [ip_blocking_countries_block]= false
geoip_dat [geoip_dat]=
tcpip_packet_size [tcpip_packet_size]= 40
mtu_packet_size [mtu_packet_size]= 1500
packet_frame_size [packet_frame_size]= 250
minimal_packet_size [minimal_packet_size]= 600
socket_keepalive [socket_keepalive]= false
http_proxy_server [http_proxy_server]=
http_proxy_port [http_proxy_port]= 8080
http_proxy_tcp [http_proxy_tcp]= false
html_mods [html_mods]= true
html_mods_style [html_mods_style]= 0
html_mods_human_readable [html_mods_human_readable]= true
html_mods_use_relative_availability [html_mods_use_relative_availability]= true
html_mods_vd_network [html_mods_vd_network]= true
html_mods_vd_comments [html_mods_vd_comments]= true
html_mods_vd_active_sources [html_mods_vd_active_sources]= true
html_mods_vd_age [html_mods_vd_age]= true
html_mods_vd_gfx [html_mods_vd_gfx]= true
html_mods_vd_gfx_remove [html_mods_vd_gfx_remove]= false
html_mods_vd_gfx_fill [html_mods_vd_gfx_fill]= false
html_mods_vd_gfx_split [html_mods_vd_gfx_split]= false
html_mods_vd_gfx_stack [html_mods_vd_gfx_stack]= true
html_mods_vd_gfx_flip [html_mods_vd_gfx_flip]= true
html_mods_vd_gfx_mean [html_mods_vd_gfx_mean]= true
html_mods_vd_gfx_transparent [html_mods_vd_gfx_transparent]= true
html_mods_vd_gfx_png [html_mods_vd_gfx_png]= true
html_mods_vd_gfx_h [html_mods_vd_gfx_h]= true
html_mods_vd_gfx_x_size [html_mods_vd_gfx_x_size]= 630
html_mods_vd_gfx_y_size [html_mods_vd_gfx_y_size]= 200
html_mods_vd_gfx_tag [html_mods_vd_gfx_tag]= false
html_mods_vd_gfx_tag_use_source [html_mods_vd_gfx_tag_use_source]= false
html_mods_vd_gfx_tag_source [html_mods_vd_gfx_tag_source]= image
html_mods_vd_gfx_tag_png [html_mods_vd_gfx_tag_png]= true
html_mods_vd_gfx_tag_enable_title [html_mods_vd_gfx_tag_enable_title]= true
html_mods_vd_gfx_tag_title [html_mods_vd_gfx_tag_title]= MLNet traffic
html_mods_vd_gfx_tag_title_x_pos [html_mods_vd_gfx_tag_title_x_pos]= 4
html_mods_vd_gfx_tag_title_y_pos [html_mods_vd_gfx_tag_title_y_pos]= 1
html_mods_vd_gfx_tag_dl_x_pos [html_mods_vd_gfx_tag_dl_x_pos]= 4
html_mods_vd_gfx_tag_dl_y_pos [html_mods_vd_gfx_tag_dl_y_pos]= 17
html_mods_vd_gfx_tag_ul_x_pos [html_mods_vd_gfx_tag_ul_x_pos]= 4
html_mods_vd_gfx_tag_ul_y_pos [html_mods_vd_gfx_tag_ul_y_pos]= 33
html_mods_vd_gfx_tag_x_size [html_mods_vd_gfx_tag_x_size]= 80
html_mods_vd_gfx_tag_y_size [html_mods_vd_gfx_tag_y_size]= 50
html_mods_vd_last [html_mods_vd_last]= true
html_mods_vd_prio [html_mods_vd_prio]= true
html_vd_barheight [html_vd_barheight]= 2
html_vd_chunk_graph [html_vd_chunk_graph]= true
html_vd_chunk_graph_style [html_vd_chunk_graph_style]= 0
html_vd_chunk_graph_max_width [html_vd_chunk_graph_max_width]= 200
html_mods_show_pending [html_mods_show_pending]= true
html_mods_load_message_file [html_mods_load_message_file]= false
html_mods_max_messages [html_mods_max_messages]= 50
html_mods_bw_refresh_delay [html_mods_bw_refresh_delay]= 11
html_mods_theme [html_mods_theme]=
html_checkbox_vd_file_list [html_checkbox_vd_file_list]= true
html_checkbox_search_file_list [html_checkbox_search_file_list]= false
html_use_gzip [html_use_gzip]= false
html_mods_use_js_tooltips [html_mods_use_js_tooltips]= true
html_mods_js_tooltips_wait [html_mods_js_tooltips_wait]= 0
html_mods_js_tooltips_timeout [html_mods_js_tooltips_timeout]= 100000
html_mods_use_js_helptext [html_mods_use_js_helptext]= true
allow_local_network [allow_local_network]= false
log_size [log_size]= 1000
log_file_size [log_file_size]= 2
log_file [log_file]= mlnet.log
log_to_syslog [log_to_syslog]= false
gui_log_size [gui_log_size]= 30
auto_commit [auto_commit]= true
pause_new_downloads [pause_new_downloads]= false
max_concurrent_downloads [max_concurrent_downloads]= 100
sources_per_chunk [sources_per_chunk]= 3
swarming_block_selection_algorithm [swarming_block_selection_algorithm]= 1
block_switching [block_switching]= true
max_recover_zeroes_gap [max_recover_zeroes_gap]= 16
file_completed_cmd [file_completed_cmd]=
file_started_cmd [file_started_cmd]=
run_as_user [run_as_user]=
run_as_useruid [run_as_useruid]= 0
ask_for_gui [ask_for_gui]= false
start_gui [start_gui]= false
recover_temp_on_startup [recover_temp_on_startup]= true
config_files_security_space [config_files_security_space]= 10
smtp_server [smtp_server]= pigrigw.tana.net
smtp_port [smtp_port]= 25
mail [mail]= fxxx@xxx.it
add_mail_brackets [add_mail_brackets]= false
filename_in_subject [filename_in_subject]= true
url_in_mail [url_in_mail]=
temp_directory [temp_directory]= /home/public/incompleti_mldonkey
create_dir_mask [create_dir_mask]= 755
create_file_sparse [create_file_sparse]= true
hdd_temp_minfree [hdd_temp_minfree]= 50
hdd_temp_stop_core [hdd_temp_stop_core]= false
hdd_coredir_minfree [hdd_coredir_minfree]= 50
hdd_coredir_stop_core [hdd_coredir_stop_core]= true
hdd_send_warning_interval [hdd_send_warning_interval]= 2
previewer [previewer]= mldonkey_previewer
mldonkey_bin [mldonkey_bin]= /home/mlnet/mlnet/
mldonkey_gui [mldonkey_gui]= ./mlgui
allow_any_command [allow_any_command]= false
allow_browse_share [allow_browse_share]= 0
messages_filter [messages_filter]= Your client is connecting too fast|eMule FX|Zambor
comments_filter [comments_filter]= http://|https://|www.
save_results [save_results]= 0
use_file_history [use_file_history]= false
filters [filters]=
buffer_writes [buffer_writes]= false
buffer_writes_delay [buffer_writes_delay]= 30.
buffer_writes_threshold [buffer_writes_threshold]= 1024
emule_mods_count [emule_mods_count]= true
emule_mods_showall [emule_mods_showall]= true
backup_options_delay [backup_options_delay]= 4
backup_options_generations [backup_options_generations]= 10
backup_options_format [backup_options_format]= tar.gz
shutdown_timeout [shutdown_timeout]= 5
interface_buffer [interface_buffer]= 1000000
max_name_len [max_name_len]= 50
max_filenames [max_filenames]= 50
max_client_name_len [max_client_name_len]= 30
term_ansi [term_ansi]= true
update_gui_delay [update_gui_delay]= 1.
http_realm [http_realm]= MLdonkey
use_html_frames [use_html_frames]= true
html_frame_border [html_frame_border]= true
commands_frame_height [commands_frame_height]= 46
motd_html [motd_html]=
compaction_delay [compaction_delay]= 2
vd_reload_delay [vd_reload_delay]= 120
client_bind_addr [client_bind_addr]= 0.0.0.0
create_mlsubmit [create_mlsubmit]= true
minor_heap_size [minor_heap_size]= 32
relevant_queues [relevant_queues]= 0 1 2 3 4 5 6 8 9 10
min_reask_delay [min_reask_delay]= 650
display_downloaded_results [display_downloaded_results]= true
filter_table_threshold [filter_table_threshold]= 50
client_buffer_size [client_buffer_size]= 500000
save_options_delay [save_options_delay]= 900.
server_connection_timeout [server_connection_timeout]= 30.
download_sample_rate [download_sample_rate]= 1.
download_sample_size [download_sample_size]= 10
compaction_overhead [compaction_overhead]= 25
space_overhead [space_overhead]= 80
max_displayed_results [max_displayed_results]= 2000
options_version [options_version]= 14
max_comments_per_file [max_comments_per_file]= 100
max_comment_length [max_comment_length]= 256
max_xs_packets [ED2K-max_xs_packets]= 30
port [ED2K-port]= 6681
check_client_connections_delay [ED2K-check_client_connections_delay]= 180.
client_timeout [ED2K-client_timeout]= 40.
max_connected_servers [ED2K-max_connected_servers]= 2
reliable_sources [ED2K-reliable_sources]= true
ban_identity_thieves [ED2K-ban_identity_thieves]= true
force_high_id [ED2K-force_high_id]= true
force_client_high_id [ED2K-force_client_high_id]= false
update_server_list_server [ED2K-update_server_list_server]= true
update_server_list_server_met [ED2K-update_server_list_server_met]= true
update_server_list_client [ED2K-update_server_list_client]= false
keep_best_server [ED2K-keep_best_server]= true
connect_only_preferred_server [ED2K-connect_only_preferred_server]= true
max_walker_servers [ED2K-max_walker_servers]= 1
walker_server_lifetime [ED2K-walker_server_lifetime]= 600
log_clients_on_console [ED2K-log_clients_on_console]= false
propagate_sources [ED2K-propagate_sources]= true
max_sources_per_file [ED2K-max_sources_per_file]= 6000
keep_sources [ED2K-keep_sources]= true
client_md4 [ED2K-client_md4]= x
client_private_key [ED2K-client_private_key]= X
enable_sui [ED2K-enable_sui]= true
black_list [ED2K-black_list]= true
queued_timeout [ED2K-queued_timeout]= 1800.
upload_timeout [ED2K-upload_timeout]= 600.
upload_lifetime [ED2K-upload_lifetime]= 90
dynamic_upload_lifetime [ED2K-dynamic_upload_lifetime]= false
dynamic_upload_threshold [ED2K-dynamic_upload_threshold]= 10
connected_server_timeout [ED2K-connected_server_timeout]= 1800.
upload_power [ED2K-upload_power]= 2
max_server_age [ED2K-max_server_age]= 4
remove_old_servers_delay [ED2K-remove_old_servers_delay]= 900.
min_left_servers [ED2K-min_left_servers]= 20
servers_walking_period [ED2K-servers_walking_period]= 6
keep_cancelled_in_old_files [ED2K-keep_cancelled_in_old_files]= false
keep_downloaded_in_old_files [ED2K-keep_downloaded_in_old_files]= false
send_warning_messages [ED2K-send_warning_messages]= false
ban_queue_jumpers [ED2K-ban_queue_jumpers]= true
use_server_ip [ED2K-use_server_ip]= true
ban_period [ED2K-ban_period]= 1
good_client_rank [ED2K-good_client_rank]= 2000
min_users_on_server [ED2K-min_users_on_server]= 0
max_published_files [ED2K-max_published_files]= 200
login [ED2K-login]=
options_version [ED2K-options_version]= 3
get_range [FTP-get_range]= get_range
range_arg [FTP-range_arg]= range
options_version [FTP-options_version]= 0
chunk_size [FTP-chunk_size]= 0
| [/quote] |
|
| Back to top |
|
 |
bokismoki neophyte
Joined: 01 Nov 2006 Posts: 1
|
Posted: Wed Nov 01, 2006 10:44 pm Post subject: |
|
|
Hello,
I've found the same problem on my mldonkey! And strangely enough, downloading the same torrent (FC6). I'm currently downloading anther torrent, which works fine, but as soon as I activated FC6 download, mlnet started leaking memory. When RAM ran out, my linux (FC2) started swapping, and mldonkey just stopped responding.
Looking at "top", VIRT memory for mlnet went up and over 250 Megs, and I noticed over 90% CPU usage in colon "wa" (waiting for disk?). The whole linux box became very slow until I killed mlnet.
What was different between the two torrents was the number of chunks. FC6 torrent had an unusually high number of chunks (over 2000 when I downloaded around 600 Megs), so it may be BT plugin has a problem handling torrents with very small chunks.
Cheers! |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Thu Nov 02, 2006 7:59 pm Post subject: |
|
|
| Hi .... I'm going to recompile anew CVS core tomorrow and retry the same torrent..just for curiosity.Let you informaed |
|
| Back to top |
|
 |
Smither neophyte
Joined: 10 Nov 2006 Posts: 1
|
Posted: Fri Nov 10, 2006 7:05 pm Post subject: |
|
|
I just compiled from CVS. Same problem.
I also downloaded the FC6 dvd, but it has continued since it. |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Sat Nov 11, 2006 3:29 pm Post subject: |
|
|
&Smither and Co
I have compiled a new CVS on a Kubuntu.
The kubuntu is running on an emulated machine in windows host machine.
I have tested the core by launching few torrents (cause I have encountered the same cpu issue with other torrents not only fc6 I have chosen a bunch of other ones) of about 300 megs cause virtual pc doesn't have a lot of free space.
The mlnet binary have worked flawless, the cpu has been bounded between 0 and 2% with rare peaks over 30% (very rare).
This has confermed that mldonkey works well per-se and that the BT problem is our local problem.
The differences between my kubuntu and the my debian enviroment is in the connection topology: (UDP cannot pass the user-mode firewall of the emulated virtual network for the QEMU -pc... explaining better, only TCP traffic was granted from mldokey to the outside world) and the downloaded files are littler then the old ones.
Another difference is that I have used a completely new config file from scratch.
Thoughts:
By excluding UDP or size related issues, I fear the issue could be triggerd by unlucky library version in my debian/compilation enviroment or by broken cionfig files (perhaps version update is not always transparent or other unlucky situations could have broken the configs in subtle way)
Proposal:
I think that you guys could try re-launching the same self-compiled cores on a fresh account and directory by reconfiguring from scratch a test-mldonkey with new config files and re-trying the fc6 downloads.
It could be useful to track if this thing is config-related.
Do you agree? I'll do the same thing shortly on monday.
If FC6 torrent keeps working bad, I suppose the problem could be tracked in the unlucky-quantum-ufo-debian-guy enviroment.
IMHO
Cheers |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Sat Nov 11, 2006 4:41 pm Post subject: |
|
|
Translation from the german forum
http://www.mldonkey.org/forum/viewtopic.php?p=42096#42096
| Berni wrote: | | So, until now I never saw this... I added a BT file and got long-lasting 100% CPU load (for hours). The webinterface did not react at all. If I manage to cancel the file the CPU load immediatly drops to 0%. |
Berni sent me some PMs with more infos:
| Berni wrote: | | I share relatively view files, but have lots of connections. max_opened_connections in MLDonkey is at 250, nonetheless I have around 1800 connections on BT port. I am having X connections to the same person/IP despite not transfering data with that person. I am having only 5 uploads. |
| Berni wrote: | | The connections get reduced only after I stopped MLDonkey. The removal of the file was not enough. |
He sent me two graphs, connections and CPU load, which confirm his findings.
I also tested the torrent, but I could not reproduce the problem.
Compared to the findings by fabtar, who also found machine-related
differences in behaviour, I also can not help much with this problem.
Btw: I downloaded the FC6 torrent without any problems. _________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Sat Nov 11, 2006 4:52 pm Post subject: |
|
|
| fabtar wrote: | | This has confermed that mldonkey works well per-se and that the BT problem is our local problem. |
I think so, too. If the people having problems use a binary version
they should instead compile MLDonkey themselves and try again.
| fabtar wrote: | | only TCP traffic was granted from mldokey to the outside world |
MLDonkey BT module does not use UDP, only TCP. _________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Sun Nov 12, 2006 7:23 pm Post subject: |
|
|
Done it!!
I have copied the same core in my debian server on another user in a clean directory with no previous settings( no .mldoneky).
I have re-configured anew, I have started 2 ed2k downloads , and 2 downlaods FC6 and another with 400 sources.
The CPU concuption is very fair something around 2-4-6% with very rare peaks of 30% ... and I have very hight download rates around 150Kbytes/sec with BT plugin.
It's the proof the problem is config-file-realted, something was proably wrong in my config or in your configs.
By reconfiguring the new core I have not shared all the directories of the other one in order to createa simpler enviromet, but I have noted that in my past configuration I have done a little (perhaps ) mistake.
I have nested a incoming_direcory of "incoming directories"' type below the main "incoming directory" (which has the files type).
Danno now if this is the problem, but I'll re-write configs from scratch avoiding this situation.
So... guys.. let's try with fresh configs (delete or backup old .mldonkey settings directory, let's save only MD4 and Secure ID signatures!!, let's pay particular atention to the share settings!!).
Please give your feedback about sucess in order to collect more infos in this thread.
Hope useful
Cheers |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Sun Nov 12, 2006 7:56 pm Post subject: |
|
|
@fabtar: It would be a good idea to compare your old ini files with the new ones, especially downloads.ini and bittorrent.ini _________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Sun Nov 12, 2006 8:10 pm Post subject: |
|
|
Ok, I 'll backup the old configs, than I 'll reconfigure anew the main mldonkey in order to obtain all the features and intended behaviours.
After verified a correct behaviour (BT) of the new core, I'll compare the old and new configs.
If you like I'll send my full configs (old and new) to you directly via email as far as the new configuration is done. |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Sun Nov 12, 2006 8:18 pm Post subject: |
|
|
| fabtar wrote: | | I'll compare the old and new configs. |
I do not need all your config files, if you found any differences
apply them one after another in your working setup until
BT behaves badly again. Then remove that bad change to
see if this solves the bug and re-apply it again to reproduce
the error. If you were successful please post the offending
changes responsible for the bug.
For you its easier to do that than for me because I would
have to re-create your setup which can lead to the situation
that I might not be able to reproduce the bug. _________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Sun Nov 12, 2006 8:27 pm Post subject: |
|
|
| OK |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Mon Nov 13, 2006 7:11 pm Post subject: |
|
|
Step 2, I have teste with new configs and mldonkey runs perfectly!! there is no CPU-problem!
Tomorrow I'll inspect old and new configs looking for differences, and I'll look for the bug-trigger |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Wed Nov 15, 2006 8:32 pm Post subject: |
|
|
| fabtar wrote: | | Tomorrow I'll inspect old and new configs looking for differences, and I'll look for the bug-trigger |
Ping, because of urgency _________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Thu Nov 16, 2006 12:22 pm Post subject: |
|
|
Pong, excuse me for the delay.
I have too much at job in these days, this evening I'll compare and inspect the settings.
I'll try to do this this eaving.
 |
|
| Back to top |
|
 |
|