OpenWrt Forum Archive

Topic: Transmission High CPU

The content of this topic has been archived on 6 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hey guys,

So when seeding torrents the CPU seems fine, seeding 10 torrents no problem.
When I try to start a download, I have a 50/50 chance if the router will crash and reboot but the router CPU usage will always jump to 90+% while downloading.

It will go down to 2% after the download is complete.

I've tried increasing the memory cache from 2mb and now up to 12mb and the CPU usage stays the same.

Here's top & -si output. Could really use some help here.

Thanks smile

Mem: 59620K used, 2088K free, 0K shrd, 736K buff, 8072K cached
CPU:  93% usr   4% sys   0% nic   0% idle   0% io   0% irq   0% sirq
Load average: 1.69 1.01 0.50 2/51 5438
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
 2438     1 root     S    40452  65%  94% /usr/bin/transmission-daemon -g /nas/
 1158     1 root     S     1432   2%   2% hostapd -P /var/run/wifi-phy0.pid -B
  263     2 root     SW       0   0%   1% [kworker/0:1]
  517     2 root     SW       0   0%   1% [kworker/u:2]
 1695     1 root     S     1500   2%   0% /sbin/watchdog -t 5 /dev/watchdog
 5324  4714 root     R     1500   2%   0% top
 2287     1 root     S     3196   5%   0% /usr/sbin/nmbd -D
 2285     1 root     S     3132   5%   0% /usr/sbin/smbd -D
  797     1 root     S     1516   2%   0% /sbin/netifd
  731     1 root     S     1508   2%   0% /sbin/syslogd -l 8 -C16
  836   797 root     S     1508   2%   0% udhcpc -p /var/run/udhcpc-eth1.pid -s
    1     0 root     S     1504   2%   0% init
 4714  4567 root     S     1504   2%   0% -ash
  569     1 root     S     1504   2%   0% init
 2300     1 root     S     1500   2%   0% /usr/sbin/ntpd -n -p 0.openwrt.pool.n
  733     1 root     S     1492   2%   0% /sbin/klogd
 4567  2105 root     S     1216   2%   0% /usr/sbin/dropbear -P /var/run/dropbe
 2105     1 root     S     1152   2%   0% /usr/sbin/dropbear -P /var/run/dropbe
 2221     1 root     S     1148   2%   0% /usr/sbin/uhttpd -f -h /www -r OpenWr
^C227     1 root     S     1128   2%   0% /usr/sbin/uhttpd -f -h /www/nzbgetweb
root@OpenWrt:~# transmission-remote -si
VERSION
  Daemon version: 2.71 (13538)
  RPC version: 14
  RPC minimum version: 1

CONFIG
  Configuration directory: /nas/transmission/config
  Download directory: /nas/transmission/done
  Download directory free space: 887.8 GB
  Listenport: 64535
  Portforwarding enabled: Yes
  uTP enabled: Yes
  Distributed hash table enabled: Yes
  Local peer discovery enabled: No
  Peer exchange allowed: Yes
  Encryption: preferred
  Maximum memory cache size: 12.00 MiB

LIMITS
  Peer limit: 300
  Default seed ratio limit: Unlimited
  Upload speed limit: Unlimited  (Disabled limit: 100 kB/s; Disabled turtle limit: 50 kB/s)
  Download speed limit: Unlimited  (Disabled limit: 100 kB/s; Disabled turtle limit: 50 kB/s)

MISC
  Autostart added torrents: Yes
  Delete automatically added torrents: No

(Last edited by shiromar on 16 Nov 2012, 21:39)

Perhaps, you can read this https://forum.openwrt.org/viewtopic.php?id=29910

I'am using TPLink TL-MR3220 with OpenWRT Attitude Adjustment r33288 with transmission 2.61
Cache mem 2mb
Queue download enable and set to one torrent download.
Download Limit 45KBps
Upload Limit 5KBps
Everything else is default.

I don't have issue with high cpu usage, but only memory sometimes goes to 35%
I set up Swap in My Eksternal Harddisk, it's 128MB
My Router have 32MB RAM and CPU Power only 400Mhz


btw, you should post in General Discussion if you want more people help you...

(Last edited by sukanime on 20 Nov 2012, 07:47)

The discussion might have continued from here.