forked from paulrufous/config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rtorrent.rc
58 lines (48 loc) · 1.65 KB
/
.rtorrent.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# main settings
port_range=55445-55445
port_random=no
directory=~/torrents/all-torrents-data/ ; where all data is downloaded to
#encryption=require_RC4
encryption=allow_incoming,try_outgoing,enable_retry
# network usage
min_peers=100 ;peers per downloading torrent
max_peers=500 ;peers per downloading torrent
min_peers_seed=100 ;peers per uploading torrent
max_peers_seed=300 ;peers per uploading torrent
max_uploads_global=220 ; upload slots per session
max_downloads_global=0 ;download slots per session
max_uploads=4 ;upload slots per torrent
throttle.global_down.max_rate.set=0 ;KB/s
throttle.global_up.max_rate.set=0 ;KB/s
# tracker related
trackers.enable=yes
use_udp_trackers=yes
dht=auto
peer_exchange=yes
# file system
#system.file.max_size.set=-1
#system.file.split_size.set=-1
check_hash = yes
#system.umask.set=0022
#advanced
network.max_open_files.set=8000 ; 1024
network.http.max_open.set=128
network.tos.set=throughput
max_memory_usage=5368709120 ;bytes
# session
session=~/.rtorrent/session/ ;directory to store torrent files between sessions
session.use_lock.set=yes
# watchdir
schedule = watch_directory,10,10,load_start="~/.rtorrent/watchdir/*.torrent"
# webui setup
http_capath=/etc/ssl/certs
scgi_port = 127.0.0.1:5000
encoding_list = UTF-8
# run rutorrent plugins at start
execute = {sh,-c,/usr/bin/php /var/www/rutorrent/php/initplugins.php &}
# Preallocate files; reduces fragmentation on filesystems.
system.file_allocate.set = yes
# Logging
log.open_file = "rtorrent.log", (cat,~/.rtorrent/rtorrent.log)
log.add_output = "info", "rtorrent.log" ;info includes: info, critical,error,warn,notice messages
#log.add_output = "thread_debug", "rtorrent.log"