Skip to content

Instantly share code, notes, and snippets.

@gdiaz384
Created July 21, 2017 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdiaz384/afb72cd3237384836ce18b2ee3431e23 to your computer and use it in GitHub Desktop.
Save gdiaz384/afb72cd3237384836ce18b2ee3431e23 to your computer and use it in GitHub Desktop.
rtorrent configuration example
# -- START HERE --
encoding.add = utf8
#directory config
directory.default.set = /home/user/torrents/downloads
session.path.set = /home/user/.sessions/
schedule = watch_directory,5,5,load.start=/home/user/rwatch/*.torrent
execute.nothrow = chmod,777,/home/user/.config/rpc.socket
execute.nothrow = chmod,777,/home/user/.sessions
#basic connection options
network.port_random.set = no
network.port_range.set = 52200-52200
network.scgi.open_port = localhost:51118
#advanced connection options
peer_exchange = yes
encryption = require,require_RC4,allow_incoming,try_outgoing
trackers.use_udp.set = yes
trackers.numwant.set = 100
dht = auto
dht_port = 6881
#BitTorrent bandwidth options
throttle.global_down.max_rate.set_kb = 0
throttle.global_up.max_rate.set_kb = 4096
#number of peers
#global slots
throttle.max_downloads.global.set = 300
throttle.max_uploads.global.set = 300
#per torrent connection maximums, in progress
throttle.min_peers.normal.set = 25
throttle.max_peers.normal.set = 25
#per torrent connection maximums, seeding
throttle.min_peers.seed.set = 12
throttle.max_peers.seed.set = 14
#per torrent active downloading,uploading
throttle.max_downloads.set = 25
throttle.max_uploads.set = 12
#misc options
pieces.memory.max.set = 1024M
network.tos.set = throughput
check_hash = yes
network.max_open_sockets.set = 999
network.max_open_files.set = 600
network.http.max_open.set = 99
network.receive_buffer.size.set = 4M
network.send_buffer.size.set = 12M
pieces.preload.type.set = 2
# -- END HERE --
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment