Advertisement
Guest User

Untitled

a guest
Jun 18th, 2010
1,994
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.84 KB | None | 0 0
  1. #This s is an example resource file for rTorrent. Copy to
  2. # ~/.rtorrent.rc and enable/modify the options as needed. Remember to
  3. # uncomment the options you wish to enable.
  4.  
  5. # Global
  6. max_downloads_global = 10
  7. max_uploads_global = 100
  8.  
  9. # Maximum and minimum number of peers to connect to per torrent.
  10. min_peers = 20
  11. max_peers = 200
  12.  
  13. # Same as above but for seeding completed torrents (-1 = same as downloading)
  14. min_peers_seed = 20
  15. max_peers_seed = 250
  16.  
  17. # Maximum number of simultanious uploads per torrent.
  18. max_uploads = 20
  19.  
  20. # Global upload and download rate in KiB. "0" for unlimited.
  21. download_rate = 0
  22. upload_rate = 0
  23.  
  24. # Default directory to save the downloaded torrents.
  25. directory = ~/rtorrent/downloads
  26.  
  27. # Default session directory. Make sure you don't run multiple instance
  28. # of rtorrent using the same session directory. Perhaps using a
  29. # relative path?
  30. session = ~/rtorrent/.session
  31.  
  32. # Watch a directory for new torrents, and stop those that have been
  33. # deleted.
  34. schedule = watch_directory,5,5,load_start=~/rtorrent/torrents/*.torrent
  35. #schedule = untied_directory,5,5,stop_untied=
  36.  
  37. # Close torrents when diskspace is low.
  38. #schedule = low_diskspace,5,60,close_low_diskspace=500M
  39.  
  40. # Stop torrents when reaching upload ratio in percent,
  41. # when also reaching total upload in bytes, or when
  42. # reaching final upload ratio in percent.
  43. # example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
  44. #schedule = ratio,60,60,stop_on_ratio=200,200M,2000
  45.  
  46. # The ip address reported to the tracker.
  47. #ip = 127.0.0.1
  48. #ip = rakshasa.no
  49.  
  50. # The ip address the listening socket and outgoing connections is
  51. # bound to.
  52. #bind = 127.0.0.1
  53. #bind = rakshasa.no
  54.  
  55. # Port range to use for listening.
  56. port_range = 64300-64500
  57.  
  58. scgi_port = localhost:5000
  59.  
  60. # Start opening ports at a random position within the port range.
  61. port_random = yes
  62.  
  63. # Check hash for finished torrents. Might be usefull until the bug is
  64. # fixed that causes lack of diskspace not to be properly reported.
  65. check_hash = no
  66.  
  67. # Set whetever the client should try to connect to UDP trackers.
  68. use_udp_trackers = no
  69.  
  70. # Alternative calls to bind and ip that should handle dynamic ip's.
  71. #schedule = ip_tick,0,1800,ip=rakshasa
  72. #schedule = bind_tick,0,1800,bind=rakshasa
  73.  
  74. # Encryption options, set to none (default) or any combination of the following:
  75. # allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
  76. #
  77. # The example value allows incoming encrypted connections, starts unencrypted
  78. # outgoing connections but retries with encryption if they fail, preferring
  79. # plaintext to RC4 encryption after the encrypted handshake
  80. #
  81. encryption = allow_incoming,enable_retry,prefer_plaintext
  82. # encryption = allow_incoming,try_outgoing
  83.  
  84. #
  85. # Do not modify the following parameters unless you know what you're doing.
  86. #
  87.  
  88. # Hash read-ahead controls how many MB to request the kernel to read
  89. # ahead. If the value is too low the disk may not be fully utilized,
  90. # while if too high the kernel might not be able to keep the read
  91. # pages in memory thus end up trashing.
  92. hash_read_ahead = 10
  93.  
  94. # Interval between attempts to check the hash, in milliseconds.
  95. hash_interval = 10
  96.  
  97. # Number of attempts to check the hash while using the mincore status,
  98. # before forcing. Overworked systems might need lower values to get a
  99. # decent hash checking rate.
  100. hash_max_tries = 5
  101.  
  102. # Max number of files to keep open simultaniously.
  103. max_open_files = 256
  104.  
  105. # Number of sockets to simultaneously keep open.
  106. #max_open_sockets = <no default>
  107.  
  108. max_open_http = 24
  109.  
  110. # Example of scheduling commands: Switch between two ip's every 5
  111. # seconds.
  112. #schedule = "ip_tick1,5,10,ip=torretta"
  113. #schedule = "ip_tick2,10,10,ip=lampedusa"
  114.  
  115. # Remove a scheduled event.
  116. #schedule_remove = "ip_tick1"
  117.  
  118. dht = disable
  119.  
  120. peer_exchange = no
  121.  
  122. preload_type = 1
  123.  
  124. max_memory_usage = 1024M
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement