You should not need to reboot the asus all the time.
Probably you have another problem that is causing some trouble.
Do you have a swap file created?
Can post the output of 'free'?
If you find that your internet is slowing down, then the most likely reason is that you didn't limit the upload speed.
Limit the upload speed (in transmission) to around 75% (or less) of your maximum upload capacity.
Last edited by avberk; 23-06-2009 at 14:36.
The reason y im rebooting is because transmission freezes and stops allowing me connect to it.
I set "peer-limit-global": 15, which helped make the net run a bit quicker.Code:[admin@WL-500GP root]$ free total used free shared buffers cached Mem: 30164 29388 776 0 772 9532 -/+ buffers/cache: 19084 11080 Swap: 524276 20992 503284 [admin@WL-500GP root]$
From the looks of it you system has too many processes running, leaving little room to operate in memory.
Maybe you should stop some processes to see if transmission runs better.
ofcourse you could give rtorrent a try, but transmission should run normally as well (it does for me).
Here is my output of 'free':
Code:total used free shared buffers Mem: 30164 29348 816 0 1120 Swap: 68672 6416 162256 Total: 98836 35764 163072
Not sure why you have this '-/+ buffers/cache'. Could this be overloading your system???
Last edited by avberk; 24-06-2009 at 20:24.
These are all the processes which are running when I type p[s axf. Which ones dont I really need to run?
Code:[admin@WL-500GP root]$ ps axf PID TTY STAT TIME COMMAND 1 ? S 0:01 /sbin/init 2 ? S 0:00 [keventd] 3 ? RN 0:00 [ksoftirqd_CPU0] 4 ? S 0:00 [kswapd] 5 ? S 0:00 [bdflush] 6 ? S 0:00 [kupdated] 7 ? S 0:00 [mtdblockd] 59 ? S 0:00 httpd vlan1 65 ? S 0:00 klogd 68 ? Ss 0:01 nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan 70 ? S 0:00 [dnsmasq] 72 ? S 0:00 [khubd] 80 ? Ss 0:00 lpd 83 ? Ss 0:00 p9100d -f /dev/usb/lp0 0 86 ? Ss 0:00 waveservermain 88 ? Ss 0:00 rcamdmain 92 ? R 0:01 [usb-storage-0] 93 ? S 0:00 [scsi_eh_0] 103 ? Ss 0:00 infosvr br0 104 ? Ss 0:00 watchdog 106 ? Ss 0:00 \_ ntp 115 ? S 0:00 dropbear 347 ? Ss 0:01 \_ dropbear 349 pts/0 Ss 0:00 \_ -sh 353 pts/0 R+ 0:00 \_ ps axf 129 ? S 0:00 udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcpc 147 ? S 0:00 [kjournald] 148 ? S 0:00 [kjournald] 175 ? S 0:00 /sbin/syslogd -m 0 -O /opt/var/log/syslog.log -S -l 7 -s 0 180 ? Ss 0:00 /opt/sbin/cron 189 ? Ss 0:00 /opt/sbin/xinetd -pidfile /var/run/xinetd.pid 194 ? Ss 0:00 /opt/bin/php-fcgi -b 1026 284 ? S 0:00 \_ /opt/bin/php-fcgi -b 1026 201 ? Ss 0:00 [proftpd] 219 ? S 0:00 /bin/sh /opt/bin/mysqld_safe --datadir=/opt/var/lib/mysql --pid-file=/opt/var/lib/mysql/WL-500GP.pid 300 ? S 0:00 \_ /opt/libexec/mysqld --basedir=/opt --datadir=/opt/var/lib/mysql --user=root --pid-file=/opt/var/lib/mysql/WL-500GP.pid --skip- 305 ? S 0:00 \_ /opt/libexec/mysqld --basedir=/opt --datadir=/opt/var/lib/mysql --user=root --pid-file=/opt/var/lib/mysql/WL-500GP.pid --s 306 ? S 0:00 \_ /opt/libexec/mysqld --basedir=/opt --datadir=/opt/var/lib/mysql --user=root --pid-file=/opt/var/lib/mysql/WL-500GP.pid 324 ? S<s 0:00 /opt/sbin/smbd -D 348 ? S< 0:00 \_ [smbd] 326 ? Ss 0:00 /opt/sbin/nmbd -D 336 ? S 0:12 /opt/bin/transmission-daemon -a *.*.*.* -g /mnt/transmission-daemon -T -w /mnt/Downloads -l 20 337 ? S 0:00 \_ /opt/bin/transmission-daemon -a *.*.*.* -g /mnt/transmission-daemon -T -w /mnt/Downloads -l 20 338 ? D 0:06 \_ /opt/bin/transmission-daemon -a *.*.*.* -g /mnt/transmission-daemon -T -w /mnt/Downloads -l 20 339 ? R 0:32 \_ /opt/bin/transmission-daemon -a *.*.*.* -g /mnt/transmission-daemon -T -w /mnt/Downloads -l 20 345 ? S 0:00 upnp -D -L br0 -W vlan1 [admin@WL-500GP root]$
Start with disabeling some services via the webinterface.
You just could kill a few services.
e.g. waveserver, mysql, smbd, nmbd, rcamdmain, php
and then watch for a while if things improve. If it does you know that you are short of memory.
I killed what u told me to and this is the result, will let u know how it goes.
Does it look better then when i typed 'free' last time?
Code:[admin@WL-500GP root]$ ps axf PID TTY STAT TIME COMMAND 1 ? S 0:01 /sbin/init 2 ? S 0:00 [keventd] 3 ? SN 2:04 [ksoftirqd_CPU0] 4 ? S 1:47 [kswapd] 5 ? S 0:00 [bdflush] 6 ? S 0:00 [kupdated] 7 ? S 0:01 [mtdblockd] 59 ? S 0:00 httpd vlan1 65 ? S 0:00 klogd 68 ? Ss 0:01 nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan 70 ? S 0:11 [dnsmasq] 72 ? S 0:00 [khubd] 80 ? Ss 0:00 lpd 83 ? Ss 0:00 p9100d -f /dev/usb/lp0 0 92 ? S 7:02 [usb-storage-0] 93 ? S 0:00 [scsi_eh_0] 103 ? Ss 0:00 infosvr br0 104 ? Ss 0:02 watchdog 106 ? Ss 0:00 \_ ntp 115 ? S 0:00 dropbear 388 ? Ss 0:01 \_ dropbear 389 pts/0 Ss 0:00 \_ -sh 397 pts/0 R+ 0:00 \_ ps axf 129 ? S 0:00 udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcpc 147 ? S 0:00 [kjournald] 148 ? S 0:07 [kjournald] 175 ? S 0:02 /sbin/syslogd -m 0 -O /opt/var/log/syslog.log -S -l 7 -s 0 180 ? Ss 0:00 /opt/sbin/cron 189 ? Ss 0:00 /opt/sbin/xinetd -pidfile /var/run/xinetd.pid 194 ? Ss 0:00 /opt/bin/php-fcgi -b 1026 284 ? S 0:00 \_ /opt/bin/php-fcgi -b 1026 201 ? Ss 0:00 [proftpd] 336 ? S 0:12 /opt/bin/transmission-daemon -a *.*.*.* -g /mnt/transmission-daemon -T -w /mnt/Downloads -l 20 337 ? S 0:00 \_ /opt/bin/transmission-daemon -a *.*.*.* -g /mnt/transmission-daemon -T -w /mnt/Downloads -l 20 338 ? R 69:35 \_ /opt/bin/transmission-daemon -a *.*.*.* -g /mnt/transmission-daemon -T -w /mnt/Downloads -l 20 [admin@WL-500GP root]$ free total used free shared buffers cached Mem: 30164 29500 664 0 1668 10840 -/+ buffers/cache: 16992 13172 Swap: 524276 17576 506700 [admin@WL-500GP root]$
it's better, but still not good.
Can you just run 'ps' without the flags. In this way we can
see what program is eating up memory
This is the result when I just run ps, is this right?
Code:[admin@WL-500GP root]$ ps PID TTY TIME CMD 576 pts/0 00:00:00 sh 581 pts/0 00:00:00 ps [admin@WL-500GP root]$
apparently you are using a different version of 'ps' then i do.
Is the result the same if you run:
/opt/bin/ps
otherwise try this and the run ps again:
ipkg update
ipkg install busybox
Last edited by avberk; 28-06-2009 at 14:31.
I didnt kill any processes this time
Code:[admin@WL-500GP root]$ ps PID Uid VmSize Stat Command 1 admin 396 S /sbin/init 2 admin SW [keventd] 3 admin RWN [ksoftirqd_CPU0] 4 admin SW [kswapd] 5 admin SW [bdflush] 6 admin SW [kupdated] 7 admin SW [mtdblockd] 59 admin 332 S httpd vlan1 65 admin 288 S klogd 68 admin 248 S nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan 70 nobody 260 S [dnsmasq] 72 admin SW [khubd] 80 admin 184 S lpd 83 admin 188 S p9100d -f /dev/usb/lp0 0 86 admin 252 S waveservermain 88 admin 252 S rcamdmain 92 admin DW [usb-storage-0] 93 admin SW [scsi_eh_0] 103 admin 224 S infosvr br0 104 admin 432 S watchdog 106 admin 276 S ntp 115 admin 300 S dropbear 129 admin 312 S udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcpc 131 admin 480 S dropbear 132 admin 488 S -sh 152 admin SW [kjournald] 153 admin SW [kjournald] 181 admin 328 S /sbin/syslogd -m 0 -O /opt/var/log/syslog.log -S -l 7 -s 0 186 admin 264 S /opt/sbin/cron 195 admin 340 S /opt/sbin/xinetd -pidfile /var/run/xinetd.pid 200 admin 2336 S /opt/bin/php-fcgi -b 1026 208 nobody 960 S [proftpd] 226 admin 408 S /bin/sh /opt/bin/mysqld_safe --datadir=/opt/var/lib/mysql --pid-file=/opt/var/lib/mysql/WL-500GP.pid 296 admin 1040 S /opt/bin/php-fcgi -b 1026 319 admin 496 S < /opt/sbin/smbd -D 323 admin 772 S /opt/sbin/nmbd -D 331 admin 724 S /opt/libexec/mysqld --basedir=/opt --datadir=/opt/var/lib/mysql --user=root --pid-file=/opt/var/lib/mysql/WL-500GP.pid --skip-exte 334 admin 724 S /opt/libexec/mysqld --basedir=/opt --datadir=/opt/var/lib/mysql --user=root --pid-file=/opt/var/lib/mysql/WL-500GP.pid --skip-exte 335 admin 724 S /opt/libexec/mysqld --basedir=/opt --datadir=/opt/var/lib/mysql --user=root --pid-file=/opt/var/lib/mysql/WL-500GP.pid --skip-exte 338 admin 9760 R /opt/bin/transmission-daemon -a *.*.*.* -g /mnt/transmission-daemon -T -w /mnt/Downloads -l 20 339 admin 9760 S /opt/bin/transmission-daemon -a *.*.*.* -g /mnt/transmission-daemon -T -w /mnt/Downloads -l 20 340 admin 9760 R /opt/bin/transmission-daemon -a *.*.*.* -g /mnt/transmission-daemon -T -w /mnt/Downloads -l 20 341 admin 9760 R /opt/bin/transmission-daemon -a *.*.*.* -g /mnt/transmission-daemon -T -w /mnt/Downloads -l 20 349 admin 464 S upnp -D -L br0 -W vlan1 351 admin 396 R ps
Ok, not too much memory consumption by the running processes.
Probably it's the buffer/cache that is giving the problem. Part of the memory (which is only 32MB) is reserved to cache frequently used data. The result is that it leaves even less memory to run your processes in.
Thus, it's best to switch this cache off. (not sure how)
Can you remember at which point you activated the cache?
Not too sure when and how I did it as well. Would have been when I was following one of the tutorials, I think olegs or wengis to setup everything including my external.