Transmissionbt extreme memory usage on ARM-Linux
Posted: Mon Dec 31, 2012 1:43 pm
Hi,
We have cross compiled transmissionbt for our Arm-Linux system. Download is OK, Web-If is ok, everything is fine.
However, the used memory grows up quickly, and uses all of DRAM in a few minutes.
Our system have 216Mhz Arm-Cpu and 256Mbytes of DRAM ( 140Mbyte is available to userspace ).
We have limited peer amounts, cache-mb...etc and tried almost everything in settings.json file.
We also cross compiled 2.42 and 2.75 for checking.... But no luck. After a few minutes, transmission uses all of the free memory in the system, and other apps start to get killed because of "Out of memory" error.
Below is our latest tested settings.json file:
Could you please let us know, how we can limit memory usage of transmission-bt to 50Mbytes ( for example) ?
Best Regards
We have cross compiled transmissionbt for our Arm-Linux system. Download is OK, Web-If is ok, everything is fine.
However, the used memory grows up quickly, and uses all of DRAM in a few minutes.
Our system have 216Mhz Arm-Cpu and 256Mbytes of DRAM ( 140Mbyte is available to userspace ).
We have limited peer amounts, cache-mb...etc and tried almost everything in settings.json file.
We also cross compiled 2.42 and 2.75 for checking.... But no luck. After a few minutes, transmission uses all of the free memory in the system, and other apps start to get killed because of "Out of memory" error.
Below is our latest tested settings.json file:
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": 1,
"dht-enabled": true,
"download-dir": "/mnt/usb/disk1/tbt/download",
"download-queue-enabled": true,
"download-queue-size": 5,
"encryption": 1,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/mnt/usb/disk1/tbt/download",
"incomplete-dir-enabled": false,
"lpd-enabled": false,
"message-level": 2,
"open-file-limit": 5,
"peer-congestion-algorithm": "",
"peer-limit-global": 10,
"peer-limit-per-torrent": 10,
"peer-port": 51413,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": "default",
"pex-enabled": true,
"port-forwarding-enabled": true,
"preallocation": 1,
"prefetch-enabled": 1,
"queue-stalled-enabled": true,
"queue-stalled-minutes": 30,
"ratio-limit": 2,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "{33850de2564f61c7e602b343f859ad06a662ea32ar1jVaqL",
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "chipbox",
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": false,
"scrape-paused-torrents-enabled": true,
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
"seed-queue-enabled": false,
"seed-queue-size": 10,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 18,
"upload-slots-per-torrent": 14,
"utp-enabled": true
}
Best Regards