Open alganza opened 4 years ago
Not enough information. E.g. which network is it about?
Try to find any clues that correlate with downloads stopping, e.g. any errors/warnings in logs?
Show the output of sysinfo
mldonkey command.
Increase logs verbosity with set verbosity verb
or set verbosity all
It happens to the donkey network downloads, which is the only one I'm using, so I can't tell if it happens to other networks too or not.
I've set verbosity all and I'll pay closer attention to the logs to see if I find something relevant.
sysinfo
--Buildinfo--
Version: MLNet Multi-Network p2p client version 3.1.6
Networks: Global Shares Direct Connect FileTP BitTorrent Donkey (SUI)
OCaml version: 4.05.0 - C compiler version: 7 - C++ compiler version: 7
Built on: Linux x86_64 4.9.0-6-amd64 (little endian) (Warning: glibc version mismatch, 2.28 present on your system, MlDonkey was compiled with 2.27)
Configure args: '--enable-option-checking=fatal' '--build' 'x86_64-linux-gnu' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/mldonkey-AGuyBo/mldonkey-3.1.6=. -fstack-protector-strong -Wformat -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fdebug-prefix-map=/build/mldonkey-AGuyBo/mldonkey-3.1.6=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++98' 'FCFLAGS=-g -O2 -fdebug-prefix-map=/build/mldonkey-AGuyBo/mldonkey-3.1.6=. -fstack-protector-strong' 'FFLAGS=-g -O2 -fdebug-prefix-map=/build/mldonkey-AGuyBo/mldonkey-3.1.6=. -fstack-protector-strong' 'GCJFLAGS=-g -O2 -fdebug-prefix-map=/build/mldonkey-AGuyBo/mldonkey-3.1.6=.
-fstack-protector-strong' 'LDFLAGS=-Wl,-z,relro' 'OBJCFLAGS=-g -O2 -fdebug-prefix-map=/build/mldonkey-AGuyBo/mldonkey-3.1.6=. -fstack-protector-strong -Wformat -Werror=format-security' 'OBJCXXFLAGS=-g -O2 -fdebug-prefix-map=/build/mldonkey-AGuyBo/mldonkey-3.1.6=. -fstack-protector-strong -Wformat -Werror=format-security' '--enable-gui=newgui2' '--enable-directconnect' '--disable-magic' '--disable-fasttrack' 'build_alias=x86_64-linux-gnu'
Features: threads zlib-1.2.11 bzip2-1.0.6 gd(jpg/png-1.6.36) iconv(active) no-magic no-upnp no-natpmp no-check-bounds
--Runinfo--
MLDonkey user: ama (PW Protected) - uptime: 2h 12m 19s - running as ama:ama Enabled nets: Donkey BitTorrent FileTP Server usage: enabled Geoip: enabled, GeoLite data created by MaxMind, available from http://maxmind.com/ IP blocking: local: 0 ranges - web: 199484 ranges System info: Linux morgan 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64 language: ES - locale: UTF-8 - UTC offset: +0200 max_string_length: 144115188075855863 - word_size: 64 - max_array_length: 18014398509481983 - max_int: 4611686018427387903 max file descriptors: 4096 - max useable file size: 2^63-1 bits (do the maths ;-p)
--Portinfo--
Network | Port|Type ----------+------+------------------- BitTorrent| 6882|client_port TCP BitTorrent| 6881|tracker_port TCP BitTorrent| 4070|dht_port UDP Core | 4080|http_port Core | 4000|telnet_port Core | 4001|gui_port Donkey | 1931|client_port TCP Donkey | 1935|client_port UDP
--Diskinfo--
Directory |Type | used| free|%free|Filesystem --------------------+-----------------------------+--------+--------+-----+---------- /home/ama/.mldonkey |core/ini files | 229.22G| 896.8M| 0%|btrfs temp |temp/downloading | 229.22G| 896.8M| 0%|btrfs incoming/directories|shared (incoming_directories)| 229.22G| 896.8M| 0%|btrfs incoming/files |shared (incoming_files) | 229.22G| 896.8M| 0%|btrfs mldonkey_tmp |$MLDONKEY_TEMP | 229.22G| 896.8M| 0%|btrfs
I may be wrong, but it seems you are running out of disk space. This could stop your downloads but not your uploads.
Not really - it is a 200GB disk with 900MB free, so the available space is about 0.4% which is rounded down to 0. You can run mldonkey at about 50MB free.
I'd suspect it is the network adapting and learning to block p2p traffic (many ISPs do these days), or the fair use part of p2p protocols kicking in - there is a built-in ratio you have to upload x amount to download y amount.
The same problem keeps happening with 3.1.7.git and 5 GiB free, as well as in a different server with the same version and 285 GiB free.
When I start the server (3.1.6) everything seems to work fine, both downloads and uploads start working within seconds. But after a few minutes, downloads stop for no apparent reason, while uploads keep going just fine. Immediately after I kill and start the server again, downloads start working again for a while, and then they stop again, until I kill the server and run it again.
It happens both, with the package from my distribution (Devuan) and the binary compiled by myself (3.1.6-git).