LINUX.ORG.RU

Как скачивать торренты по одному?

 


0

2

Есть вот такой конфиг. Не нашел ответа в поисковике, как делать так, чтобы торренты скачивать по одному max_downloads_global = 1 - не дает желаемого результата.

Пока пересел на deluge, но он жрет озушку. 2.3 GiB deluge.

# Global upload and download rate in KiB, `0` for unlimited (`download_rate`, `upload_rate`)
throttle.global_down.max_rate.set_kb = 10000
throttle.global_up.max_rate.set_kb   = 2500

# Maximum number of simultaneous downloads and uploads slots (global slots!) (max_downloads_global, max_uploads_global)
throttle.max_downloads.global.set = 30000
throttle.max_uploads.global.set   = 30000

# Maximum and minimum number of peers to connect to per torrent while downloading. Default: `100` and `200` respectively. (Applies to Special group. Slowup group values will be overriden by per torrent settings in Favouring section of main config file). (min_peers, max_peers)
throttle.min_peers.normal.set = 99
throttle.max_peers.normal.set = 100

# Same as above but for seeding completed torrents (-1 = same as downloading) Default: `-1` for both. (seeds per torrent) (Applies to Special group. Slowup group values will be overriden by per torrent settings in Favouring section of main config file). (min_peers_seed, max_peers_seed)
throttle.min_peers.seed.set = -1
throttle.max_peers.seed.set = -1

# Maximum number of simultaneous downloads and uploads slots per torrent (`max_uploads`) Default: `50` (Applies to Special group. Slowup group values will be overriden by per torrent settings in Favouring section of main config file). (max_uploads)
throttle.max_downloads.set = 50
throttle.max_uploads.set = 50

# Set the numwant field sent to the tracker, which indicates how many peers we want. A negative value disables this feature. Default: -1 (tracker_numwant)
# trackers.numwant.set = 100
trackers.numwant.set = -1

# Set the max amount of memory space used to mapping file chunks. This refers to memory mapping, not physical memory allocation. Default: `1GB` (max_memory_usage) This may also be set using ulimit -m where 3/4 will be allocated to file chunks.
pieces.memory.max.set = 40960M

# Limit the number simultanous of HTTP request (used by announce or scrape requests) (default 32) (set_max_open_http)
network.http.max_open.set = 99

# Adjust the send and receive buffer size for socket. Disabled by default (0), this means the default is used by OS (you have to modify the system wide settings!!!) (send_buffer_size, receive_buffer_size)
#   Increasing buffer sizes may help reduce disk seeking, connection polling as more data is buffered each time the socket is written to. It will result higher memory usage (not by rtorrent process!).
# network.receive_buffer.size.set =  4M
network.receive_buffer.size.set =  40M
network.send_buffer.size.set    = 12M

# Preloading a piece of a file. (Default: 0) Possible values: 0 (Off) , 1 (Madvise) , 2 (Direct paging). (https://github.com/rakshasa/rtorrent/issues/418)
pieces.preload.type.set = 2
#pieces.preload.min_size.set = 262144
#pieces.preload.min_rate.set = 5120
pieces.preload.min_size.set = 26214400
pieces.preload.min_rate.set = 512000

# TOS of peer connections. Default: `throughput`. If the option is set to `default` then the system default TOS
#  is used. A hex value may be used for non-standard settings.  (`tos`)
# Possible values: `[default|lowdelay|throughput|reliability|mincost]` or a hex value.
network.tos.set = mincost

# CURL option to lower DNS timeout. Default: `60`.
network.http.dns_cache_timeout.set = 25

# Whether to allocate disk space for a new torrent. Default: `0`
system.file.allocate.set = 1

min_peers = 1
max_peers = 50
min_peers_seed = 1
max_peers_seed = 50
max_uploads = 0
upload_rate = 5

download_rate = 10

# Maximum number of simultaneous downloads
max_downloads_global = 0


session = ~/media/torrents/session/
directory="~/media/torrents/incomplete/"

# port range
port_range = 1024-65535

# ¤ Start opening ports at a random position within the port range. ¤
port_random = yes

check_hash = yes
session_save = yes
use_udp_trackers = yes

# dht = auto
dht = on
dht_port = 6881
# dht_port = 10000

encryption = allow_incoming,try_outgoing,enable_retry,require
encoding_list = UTF-8

# ¤ Enable peer exchange (for torrents not marked private) ¤
peer_exchange = yes

# ¤ load from ~/torrent/torrent_auto_load/ torrent files ¤
schedule = watch_directory_1,10,10,"load=/home/user/media/torrents/torrent_auto_load/*.torrent,d.set_custom1=/home/user/media/torrents/complete"
schedule = watch_directory_2,10,10,"load=/home/user/media/torrents/torrent_auto_load/music/*.torrent,d.set_custom1=/home/user/media/torrents/done/music"
schedule = watch_directory_3,10,10,"load=/home/user/media/torrents/torrent_auto_load/film/*.torrent,d.set_custom1=/home/user/media/torrents/done/film"
schedule = watch_directory_4,10,10,"load=/home/user/media/torrents/torrent_auto_load/serial/*.torrent,d.set_custom1=/home/user/media/torrents/done/serial"
schedule = watch_directory_5,10,10,"load=/home/user/media/torrents/torrent_auto_load/game/*.torrent,d.set_custom1=/home/user/media/torrents/done/game"
schedule = watch_directory_6,10,10,"load=/home/user/media/torrents/torrent_auto_load/book/*.torrent,d.set_custom1=/home/user/media/torrents/done/book"

# ¤ autostart stopped torrents ¤
schedule = tied_directory,10,10,start_tied=
schedule = untied_directory,10,10,close_untied=

# ¤ Periodically save session data ¤
schedule = session_save,240,300,session_save=

# ¤ Stop, when low disk space ¤
schedule = low_diskspace,5,10,close_low_diskspace=2048M

# ¤ move complete data to complete path ¤
system.method.insert=checkdirs,simple,"not=\"$equal={d.get_custom1=,d.get_base_path=}\""
system.method.insert=movecheck,simple,"and={checkdirs=,d.get_complete=,d.get_custom1=}"
system.method.insert=movedir,simple,"d.set_directory=$d.get_custom1=;execute=mv,-f,$d.get_base_path=,$d.get_custom1=;d.set_custom1=;d.stop=;d.start="
system.method.set_key=event.download.hash_done,move_hashed,"branch={$movecheck=,movedir=}"
system.method.set_key=event.download.finished,move_complete,"branch={$movecheck=,movedir=}"

# ¤ touch new file to ~/media/torrents/done ¤
system.method.set_key=event.download.finished,notify_me,"execute=/home/user/.rtorrent/scripts/done.sh,$d.get_name="

# ¤ delete files if .torrent remove ¤
method.set_key = event.download.erased, remove_file,"execute={rm,-drf,--,$d.get_base_path=}"

# ¤ Displaying active torrents ¤
schedule = filter_active,30,30,"view_filter = active,\"or={d.get_up_rate=,d.get_down_rate=}\""

# ¤ stop on ratio ¤
# Enable the default ratio group.
ratio.enable=
# Change the limits, the defaults should be sufficient.
# Upload to a minimum ratio of 4.0
ratio.min.set=400
# Upload to a maximum ratio of 3.0
ratio.max.set=300
# Upload a minimum of 250 MB
ratio.upload.set=250M

# When seeding ratio is reached close the torrent
system.method.set = group.seeding.ratio.command, d.close=



# vim: set ft=sh:


Последнее исправление: Xwo (всего исправлений: 2)

в трансмишине max active downloads если ставить 1 — будет качать по одному.

system-root ★★★★★
()

В настройках любого торрент-клиента должна быть опция одновременной закачки определённого количества торрентов за раз. Обычно рядом с ней и количество одновременных сидов есть (в Кторренте обе настройки были во вкладке управления очередями).

Korchevatel ★★★★★
()

Насколько мне известно в rtorrent нет такой настройки. Я использую

network.max_open_files.set = 4
- это минимум, если меньше - рторрент не запустится, но при этом качает не больше 4 торрентов.

Либо извращаться с конфигом, точно помню где-то видел набор команд для поочередного скачивания.

lucky_guy ★★★
()

В rtorrent такой опции не было. Я не так часто скачиваю что-то, при необходимости параллельных закачек просто выставляю ширину канала для каждой.

orm-i-auga ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.