[Solved] Transmission on device w/limited hardware resources

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Locked
skakz
Posts: 2
Joined: Thu Sep 29, 2011 1:28 pm

[Solved] Transmission on device w/limited hardware resources

Post by skakz »

Hi all!
I'm running transmission-daemon on a Seagate Dockstar, 1.2 GHz Marvell Kirkwood 6281 ARM-compatible CPU and 128Mb RAM.
Controlled by a windows-machine via tranmission-remote-gui.
The problem is that tranmission use all the free ram resulting in slowdowns to the entire system and timeout of remote-gui.
Then I've no other option to enter in ssh and kill tranmission myself.

It occurs especially with torrents with large files, or when I've few torrents in downloads..

currently running tranmission 2.33-r1 on gentoo (also tried on archlinux)
I have attempted with ulimit and limits.conf but result in kill (forever) transmission when reach the memory limit

Is there some trasmission settings that can I modify to limit/minimize the memory usage?

here other details:

Code: Select all

top
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 9734 p2p       20   0  162m  78m 1776 S  7.4 90.2   0:36.45 transmission-da

Code: Select all

free -m
             total       used       free     shared    buffers     cached
Mem:           122        118          4          0          0          3
-/+ buffers/cache:        114          8
Swap:         3071         82       2989
/ on sda2 is ext4, lot of space free
Downloads/Temp tranmission dir on sda4 XFS, lot of space free
swap on sda3 3GB

tranmission config:

Code: Select all

{
    "alt-speed-down": 50,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 540,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 1020,
    "alt-speed-up": 50,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "::",
    "blocklist-enabled": false,
    "blocklist-url": "http://www.example.com/blocklist",
    "cache-size-mb": 100,
    "dht-enabled": true,
    "download-dir": "/home/p2p/Downloads",
    "encryption": 1,
    "idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": false,
    "incomplete-dir": "/home/p2p/temp",
    "incomplete-dir-enabled": true,
    "lpd-enabled": false,
    "message-level": 3,
    "peer-congestion-algorithm": "",
    "peer-limit-global": 200,
    "peer-limit-per-torrent": 30,
    "peer-port": 6920,
    "peer-port-random-high": 6999,
    "peer-port-random-low": 6890,
    "peer-port-random-on-start": true,
    "peer-socket-tos": "default",
    "pex-enabled": true,
    "pidfile": "/var/run/transmission/transmission.pid",
    "port-forwarding-enabled": true,
    "preallocation": 1,
    "prefetch-enabled": 1,
    "ratio-limit": 2,
    "ratio-limit-enabled": false,
    "rename-partial-files": true,
    "script-torrent-done-enabled": false,
    "script-torrent-done-filename": "",
    "speed-limit-down": 700,
    "speed-limit-down-enabled": true,
    "speed-limit-up": 15,
    "speed-limit-up-enabled": true,
    "start-added-torrents": true,
    "trash-original-torrent-files": false,
    "umask": 18,
    "upload-slots-per-torrent": 14,
    "utp-enabled": false
}
tranmission logs, nothing relevant..
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: Transmission on device with limited hardware resources

Post by Jordan »

Hi Skakz,

The first thing I'd try is lowering your memory cache from 100 MB to something smaller.
skakz
Posts: 2
Joined: Thu Sep 29, 2011 1:28 pm

Re: Transmission on device with limited hardware resources

Post by skakz »

thanks.. it works now.. I don't know why I was thinking that option was a "low disk space alert option".. :(
Locked