Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
vms:bittorrent [2017/05/31 04:10]
admin [Transmission]
vms:bittorrent [2017/06/01 17:49]
admin [Transmission]
Line 4: Line 4:
  
 We'll start with the installation of a **Transmission** server, based on a [[vms:​debian|Debian template]]. We'll start with the installation of a **Transmission** server, based on a [[vms:​debian|Debian template]].
 +
 +=== Installation ===
  
 <​Code:​json>​ <​Code:​json>​
Line 25: Line 27:
 "​incomplete-dir":​ "/​var/​lib/​transmission/​seeding",​ "​incomplete-dir":​ "/​var/​lib/​transmission/​seeding",​
 "​dht-enabled":​ true, "​dht-enabled":​ true,
 +"​lpd-enabled":​ true,
 "​pex-enabled":​ true, "​pex-enabled":​ true,
 "​peer-limit-per-torrent":​ 10, "​peer-limit-per-torrent":​ 10,
Line 42: Line 45:
  
 For detailed instructions on how to use Transmission:​ [[https://​help.ubuntu.com/​community/​TransmissionHowTo]] For detailed instructions on how to use Transmission:​ [[https://​help.ubuntu.com/​community/​TransmissionHowTo]]
 +
 +=== System Configuration ===
 +
 +To avoid Transmission eating up all the system'​s resources, edit ''/​lib/​systemd/​system/​transmission-daemon.service'':​
 +
 +<​Code>​
 +> nano /​lib/​systemd/​system/​transmission-daemon.service
 +ADD @ end of [Service] section
 +[Service]
 +...
 +Nice=16
 +IOSchedulingClass=idle
 +CPUSchedulingPolicy=idle
 +MemoryMax=25M
 +MemoryHigh=35M
 +ProtectSystem=true
 +
 +> systemctl daemon-reload
 +</​Code>​
 +
 +Note that we reload daemons for our changes to take effect.
 ===== mitorrent ===== ===== mitorrent =====
 [[https://​github.com/​da2x/​mitorrent]] [[https://​github.com/​da2x/​mitorrent]]