I’m running my NSLU2 as a file server, torrent client and kaid server. With 6 torrents running, it runs out of memory, and starts killing processes willy-nilly.
Took me a while to figure out this was why my script to auto-start a new torrent was being “Terminated.”
Not sure how it works out which processes to kill, or if there’s a way to reduce memory use.
Then I came across a HOWTO: Add Additional Swap Space. Should fix stuff a bit.
Just a note: it takes ages for the file to be created, apparently.
Kissing A Fool • George Michael • Ladies & Gentlemen : The Best Of George Michael ★★
Edit: using ps x o %mem 0 command, I can see that each enhanced-ctorrent process grabs about 5 meg, while the 10 or so kaid processes each use up 2.1Mb. Since I haven’t started using kaid yet, maybe I should stop it auto-starting…
I wasn’t able to create the file as 256Mb in
/mnt, as there wasn’t enough space. I don’t know why, but this partition only had around 37Mb free.So, instead, I set the file to
/share/hdd/data/swapfile1, which is working now. Don’t forget the mkswap command, as it fails without it!And, luckily, it was much faster using
ddin this location. It’s possible that/mntwas pointed at the flash drive, or something else.49 minutes after the fact.
Why don’t you investigate using rtorrent? I find it works much better on the NSLU2! Let me know how you get on!
3 months after the fact.