pavva94 / snake-os

Automatically exported from code.google.com/p/snake-os
0 stars 1 forks source link

Transmission hangs after two or three hours #238

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. running transmission 2.42 on snake v1.3.2
2.
3.

What is the expected output? What do you see instead?
On previous versions it hanged after two or three days, not two hours

What version of the product are you using? On what operating system?
snake v1.3.2 (latest) on windows 7

Please provide any additional information below.

Basically everything works like a charm on the new firmware but transmission 
seems to hang a lot. It becomes drammaticaly slow after two or three hours but 
never stops reacting (it takes three to four minutes to load the menu but still 
works). It downloads very slowly while hanging (2 or 3 KB/sec) and FTP transfer 
is very slow as well. It seems  a problem with memory. I've tried almost 
everything I've read on other posts (changing swappiness, rebuilding swap 
file). Any new hints?

Original issue reported on code.google.com by paulv...@gmail.com on 13 Nov 2011 at 6:00

GoogleCodeExporter commented 8 years ago
since you are on windows 7, i would guess that you are using ntfs for your usb, 
yes?

if so, format the flash drive using "disk->format"
this should format the usb to ext3.
this should increase performace on your device by alot
downside to this, is that ext3 is only supported through 3rd party software on 
windows.
you can still use ftp or web to access it though.

i tested it myself on ftp transfer speed, 
using ntfs my max transfer speed is only ~600KB/s (with nothing, except ftp 
running)
by using ext3, my transfer speed reaches, 7MB/s, which is actually my maximum 
wifi transfer speed, between 2 pc.

second, try using 2 disk, 1 for dedicated swap(and chroot if you use it)
the other purely for data.
i find that, while running ftp transfer,ssh,torrent,etc... on ONLY 1 flash,
the web got abit slow.

if not, try to eleborate more on your setting and software.
like, you ftp client, browser, router, transmission setting,and so on.

Original comment by milkboy...@gmail.com on 14 Nov 2011 at 4:06

GoogleCodeExporter commented 8 years ago
The usb is exfat (I've tried also ext2 and ext3). The top speed improves 
radically with ext3 but the normal transfer speed is normally stuck at 7 to 10 
KB/s. I reached 3-4 MB/s with the previous firmware. If I reboot the NAS, the 
speed goes up to 2-3 MB/s that is more than acceptable for me but only lasts 
for a couple of hours or without transmission running. The transfer is made 
over a wifi 802.11N network and I had no problems with the speed before. I 
really think it's a memory problem...

Original comment by paulv...@gmail.com on 14 Nov 2011 at 4:52

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
i know what you mean. i myself need to reboot snake os daily.
snake os does have some memory limitation problem.
the current patch is the swap file method, sadly.
and i find it practically useless on speeding up the system
its only use is to keep trasnmission running T.T

however, if you are good with hardware,
there is a an experimental ram upgrade being done.
and i'll only recommend it if you are good with hardware.
http://code.google.com/p/snake-os/issues/detail?id=69&q=memory
development seems to have stalled thou.

almost forgot,did you install any heatsink?
cause couple of hours seems to correspond my old problem, before adding 
heatsink.
now with the heatsink mine last for atleast a day befor any general slow down.

other than that anyone else care to try?

Original comment by milkboy...@gmail.com on 14 Nov 2011 at 9:51

GoogleCodeExporter commented 8 years ago
I suppose I don't have the necessary skills to upgrade the ram.
The nas doesn't seem to be too hot anyway. 
Is it possible to downgrade to the older firmware? (I've never tried that and I 
don't want to brick my nas).

Original comment by paulv...@gmail.com on 15 Nov 2011 at 6:20

GoogleCodeExporter commented 8 years ago
yes downgrading is possible.
http://groups.google.com/group/dealextreme-nas-/browse_thread/thread/d70f2e90736
19602/123db1526dd8a51b?lnk=gst&q=DOWNGRADE#123db1526dd8a51b

gist of it is yes.
in fact, it seems some members are able to use 
snakeos-V1.2.0-20100621-*from-original*.bin, instead of *from-snake*, to 
downgrade.
just to be safe i would recommend from *from-snake*

procedure should be the same as upgrading

Original comment by milkboy...@gmail.com on 15 Nov 2011 at 8:12

GoogleCodeExporter commented 8 years ago
Yeah, downgreding should be safe.

I really need to check if the transmission settings can be tweaked a bit to 
reduce memory usage.

Original comment by stefansc...@googlemail.com on 16 Nov 2011 at 12:24

GoogleCodeExporter commented 8 years ago
Maybe an older version of transmission used less memory?
Is it possible to produce a package of an older version if it fixes the memory 
usage problem. I feel the other problems with older version were much less 
important than this memory problem.

Original comment by paulv...@gmail.com on 16 Nov 2011 at 11:02

GoogleCodeExporter commented 8 years ago
Probably. The one that comes with 1.3.2-20101130 works better?

Original comment by stefansc...@googlemail.com on 16 Nov 2011 at 12:30

GoogleCodeExporter commented 8 years ago
It worked better when I tried it with the older firmware. How can I test it 
with the new firmware?

Original comment by paulv...@gmail.com on 16 Nov 2011 at 12:50

GoogleCodeExporter commented 8 years ago
It's a bit messy but if you didn't uninstall transmission before downgrading 
you could try to transplant the old transmission into the package installation 
then upgrade to the latest snake os again.

To do this ssh into the old snake and do
rm -r /usb/sda1/.optware/share/transmission/
cp -a /usr/share/transmission/ /usb/sda1/.optware/share/
cp /usr/share/transmission/bin/transmission-daemon  /usb/sda1/.optware/bin/

Then install the latest snake. If you enable opkg it should launch the old 
transmission. 

It would probably be easier to just package up the old transmission.

Original comment by stefansc...@googlemail.com on 16 Nov 2011 at 2:41

GoogleCodeExporter commented 8 years ago
I did all you said. Now it seems to be much better than before. I've problems 
with some torrents as I had in the previous versions but the memory problem 
seems fixed.
I don't know how to package an .opk. Anyway here it is the zipped .optware 
folder.

Original comment by paulv...@gmail.com on 16 Nov 2011 at 6:33

Attachments:

GoogleCodeExporter commented 8 years ago
ok thanks.. here's that version in packaged up:
http://code.google.com/p/snake-os/downloads/detail?name=transmission-2.12-1.opk

I did a bit a testing and downloading a few large torrents really seems to slow 
things down to a crawl.

I get the feeling that it's not the memory usage (I still had about 10mb free 
most of the time) but the way newer versions access the disk that causes these 
slowdowns. Maybe setting a speed cap would help or limiting the number of peers.

(I also had the network driver crap out twice but that seems to be a different 
issue)

Original comment by stefansc...@googlemail.com on 17 Nov 2011 at 6:30

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I really don't know what's the problem with the new version. I've tried to 
limit the peers, the speed and also the number of torrents to a minimum, but 
still it didn't work for a long time. Now it seems stable. It's fast and 
stable. It still has problem when adding torrents with long or strange names.

Original comment by paulv...@gmail.com on 18 Nov 2011 at 8:39