11
# Where rTorrent stores its state (resume data, queues, etc.)
session = ~/other/rtor/.session
# Default download location
directory = ~/other/rtor/dl
# Optional: watch directory (auto‑load)
schedule = watch_directory,5,5,load.start=~/other/rtor/w/*.torrent
# Network settings
port_range = 51413-51414
# listening ports
# Bandwidth limits (set to -1 for unlimited 1k for 1kb/sec)
download_rate = 1
upload_rate = 4
# Peer settings
throttle.max_uploads.set = 2
throttle.max_uploads.global.set = 6
throttle.min_peers.normal.set = 1
throttle.max_peers.normal.set = 8
throttle.min_peers.seed.set = 1
throttle.max_peers.seed.set = 8
trackers.numwant.set = 150
network.max_open_sockets.set = 512
dht.mode.set = on
protocol.pex.set = yes
# Global download and upload limits in KiB/s
throttle.global_down.max_rate.set_kb = 2
throttle.global_up.max_rate.set_kb = 6
pieces.memory.max.set = 300M
# If the torrent is incomplete, active and not downloading data
ui.color.queued.set = "green"
# If the torrent is incomplete, active and downloading data
ui.color.leeching.set = "red"
# If the torrent is incomplete and not active
ui.color.incomplete.set = "cyan"
aria2 as an alternative
To make aria2c stop the download phase of a torrent and stay in seed‑only mode, run the torrent with the seed‑only flag:
aria2c --bt-seed-only file.torrent
What it does
--bt-seed-onlytells aria2c to skip the downloading part entirely.- If the files are already present (or have been downloaded previously), aria2c will verify the existing data and then immediately start seeding.
- The option works with both
.torrentfiles and magnet links (just add it after the URI).
Typical workflow
-
Download the torrent once (or place a pre‑existing copy of the files in the same directory).
aria2c file.torrent # normal download -
Switch to seed‑only mode whenever you want to stop further downloading:
aria2c --bt-seed-only file.torrentAria2c will perform a hash check on the completed files and then join the swarm as a seeder only.
Additional useful options
| Option | Purpose |
|---|---|
--seed-time=SECONDS |
Stop seeding after the given number of seconds (e.g., --seed-time=7200 for 2 h). |
--seed-ratio=RATIO |
Stop seeding when the uploaded‑to‑downloaded ratio reaches RATIO (e.g., --seed-ratio=1.5). |
--bt-max-peers=N |
Limit the maximum number of peers per torrent (default 55). |
These can be combined with --bt-seed-only to fine‑tune how long you stay in seed‑only mode.



