rakshasa / rtorrent

rTorrent BitTorrent client
https://github.com/rakshasa/rtorrent/wiki
GNU General Public License v2.0
4.05k stars 412 forks source link

Can anybody check my settings? #1176

Open ghost opened 1 year ago

ghost commented 1 year ago

Hello, using ruTorrent in docker / crazymax/rtorrent-rutorrent:latest

Works fine but sometimes torrent has about 100 seeders but client connect to 1 seeder only. Maybe esomething is bad in config?

Have 1gbps/300mbps. Intel NUC, 32GB RAM, i7 CPU etc. RAM usage is 2% only. CPU 10%, SSD. Thank you.

Maximum and minimum number of peers to connect to per torrent

throttle.min_peers.normal.set = 1 throttle.max_peers.normal.set = 1024

Same as above but for seeding completed torrents (-1 = same as downloading)

throttle.min_peers.seed.set = -1 throttle.max_peers.seed.set = -1

Maximum number of simultanious uploads per torrent

throttle.max_uploads.set = 1024

Global upload and download rate in KiB. "0" for unlimited

throttle.global_down.max_rate.set_kb = 0 throttle.global_up.max_rate.set_kb = 0

Enable DHT support for trackerless torrents or when all trackers are down

May be set to "disable" (completely disable DHT), "off" (do not start DHT),

"auto" (start and stop DHT as needed), or "on" (start DHT immediately)

dht.mode.set = disable

Enable peer exchange (for torrents not marked private)

protocol.pex.set = no

Check hash for finished torrents. Might be usefull until the bug is

fixed that causes lack of diskspace not to be properly reported

pieces.hash.on_completion.set = no

Set whether the client should try to connect to UDP trackers

trackers.use_udp.set = yes

Set the max amount of memory address 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 = 1GB

Alternative calls to bind and ip that should handle dynamic ip's

schedule2 = ip_tick,0,1800,ip=rakshasa

schedule2 = bind_tick,0,1800,bind=rakshasa

Encryption options, set to none (default) or any combination of the following:

allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext

protocol.encryption.set = allow_incoming,try_outgoing,enable_retry

Set the umask for this process, which is applied to all files created by the program

system.umask.set = 0022

Add a preferred filename encoding to the list

encoding.add = UTF-8

Watch a directory for new torrents, and stop those that have been deleted

schedule2 = watch_directory, 1, 1, (cat,"load.start=",(cfg.watch),".torrent") schedule2 = untied_directory, 5, 5, (cat,"stop_untied=",(cfg.watch),".torrent")

Close torrents when diskspace is low

schedule2 = monitor_diskspace, 15, 60, ((close_low_diskspace,1000M))

Move finished (no need Autotools/Automove plugin on ruTorrent)

method.insert = d.get_finished_dir, simple, "cat=$cfg.download_complete=,$d.custom1=" method.insert = d.move_to_complete, simple, "d.directory.set=$argument.1=; execute=mkdir,-p,$argument.1=; execute=mv,-u,$argument.0=,$argument.1=; d.save_full_session=" method.set_key = event.download.finished,move_complete,"d.move_to_complete=$d.data_path=,$d.get_finished_dir="

Erase data when torrent deleted (no need erasedata plugin on ruTorrent)

method.set_key = event.download.erased,delete_erased,"execute=rm,-rf,--,$d.data_path="

ghost commented 1 year ago

maybe pastebin will be better https://pastebin.com/ai2MpbFH

kannibalox commented 1 year ago

throttle.min_peers.normal.set = 1 This seems like the issue, I would recommend using the default of 100. Another thing you can do is make sure you're connectable by forwarding the bittorrent port (there are plenty of guides on how to do that), but ultimately there is no guarantee that rTorrent (or any client) will connect to all peers.

For posterity, Github has a specific syntax for formatting code.

ghost commented 1 year ago

@kannibalox thank you, will check that. And of course I have port forwarded and I'm connectable.