ygrek / mldonkey

cross-platform multi-network p2p daemon (previously at http://mldonkey.sourceforge.net/)
Other
240 stars 45 forks source link

hdd_temp_min_free not working on Btrfs? #8

Open alganza opened 9 years ago

alganza commented 9 years ago

My MLDonkey won't stop downloading whenever the minimum free space set at hdd_temp_min_free is reached. It did it before, and it worked like a charm, but now it just keeps downloading until it totally fills up the Btrfs subvolume. It does stop all downloads if I kill and run the daemon again, though, but as soon as there is enough empty space, it starts downloading and won't stop until the disk is full (unless I kill the daemon and launch it again).

: can you show the output of df -h and the output of sysinfo in mldonkey

$ df -h .
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb2        38G   35G  1,2G  97% /mnt/mld

sysinfo on MLDonkey:

Buildinfo
Version: MLNet Multi-Network p2p client version 3.1.4.git
SCM version: release-3-1-4-240-gc91a788-next
Networks: Global Shares Fasttrack FileTP BitTorrent Donkey (SUI)
OCaml version: 3.12.0 - C compiler version: 4.7 - C++ compiler version: 4.7
Built on: Linux i686 3.2.0-4-686-pae (little endian) with glibc 2.18
Configure args:  '--enable-option-checking=fatal'
Features: threads zlib-1.2.7 no-bzip2 no-gd iconv(active) no-magic no-upnp no-natpmp no-check-bounds

MLDonkey user: XXX (PW Protected) - uptime: 1d 19h 24m 7s - running as users:XXX
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: 203886 ranges
System info: Linux XXXXXX 3.16-0.bpo.3-686-pae #1 SMP Debian 3.16.5-1~bpo70+1 (2014-11-02) i686
language: ES - locale: UTF-8 - UTC offset: +0100
max_string_length: 16777211 - word_size: 32 - max_array_length: 4194303 - max_int: 1073741823
max file descriptors: 4096 - max useable file size: 2^63-1 bits (do the maths ;-p)

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 11931    client_port TCP
Donkey 11935

Directory   Type    used    free    % free  FS
/home/XXX/.mldonkey core/ini files 23.87G 12.47G 34% unknown (FFFFFFFF9123683E)
temp temp/downloading 36.11G 1.16G 3% unknown (FFFFFFFF9123683E)
incoming/directories shared (incoming_directories) 36.11G 1.16G 3% unknown (FFFFFFFF9123683E)
incoming/files shared (incoming_files) 36.11G 1.16G 3% unknown (FFFFFFFF9123683E)
mlnet_tmp $MLDONKEY_TEMP 23.87G 12.47G 34% unknown (FFFFFFFF9123683E)
ygrek commented 9 years ago

Please show df -h for all fs, not only current dir. hdd_temp_min_free checks the space in temp directory, judging from sysinfo it has >12G free

ygrek commented 9 years ago

Hm, no, that's another temp, still full df -h could be useful

alganza commented 9 years ago

Sure, here it is:

$ df -h Filesystem Size Used Avail Use% Mounted on rootfs 37G 23G 13G 65% / udev 10M 0 10M 0% /dev tmpfs 101M 328K 101M 1% /run /dev/sda2 37G 23G 13G 65% / tmpfs 5,0M 0 5,0M 0% /run/lock tmpfs 588M 0 588M 0% /run/shm /dev/sda2 37G 23G 13G 65% /opt /dev/sda2 37G 23G 13G 65% /srv /dev/sda2 37G 23G 13G 65% /tmp /dev/sda2 37G 23G 13G 65% /usr /dev/sda2 37G 23G 13G 65% /var /dev/sda2 37G 23G 13G 65% /home/ama /dev/sda2 37G 23G 13G 65% /mnt/btr /dev/sdb2 38G 35G 800M 98% /mnt/mld /dev/sdc2 38G 34G 2,0G 95% /mnt/dat /dev/sdd2 37G 33G 1,8G 95% /mnt/med