phyton files

Hi Emortal. Vu+ Uno is my machine. I only had 1 active torrent this time and the system crashed. No ssh access. Hard reboot (switch at the back) was the order of the day. I realised I didn't have a swap file enabled so I've activated it now to see if it makes any difference. I'm going to install a newer version of Transmission also to see if that makes a difference as I was running 2.41.

How can I tell if my torrents or any other data is going to Flash mem? As soon as it hangs I can't check anything.
 
Hi Emortal. Vu+ Uno is my machine. I only had 1 active torrent this time and the system crashed. No ssh access. Hard reboot (switch at the back) was the order of the day. I realised I didn't have a swap file enabled so I've activated it now to see if it makes any difference. I'm going to install a newer version of Transmission also to see if that makes a difference as I was running 2.41.

How can I tell if my torrents or any other data is going to Flash mem? As soon as it hangs I can't check anything.

Press the blue button and then the yellow to access system info. There you can see how much flash memory is being used. You dont have to wait for the system to hang to check this. Since you have an uno you might run into Ram and cpu issues becuase it might not be able to handle all the concurrent processing from your system, sickbeard and couchpotato
 
So just now the system started to hang but then after a few second came back to life. I grabbed this section from the list of processes that are currently running. As you'll notice there are many instances of SickBeard running and an obscure one right after them.

Code:
952 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  953 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  955 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  956 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  957 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  958 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  959 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  960 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  961 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  962 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  963 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  964 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  966 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  967 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  968 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  969 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  970 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  971 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  973 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  975 root      187m S    /usr/bin/python /media/iomega/sickbeard/SickBeard.py
  972 root      2572 S    ?????????????????????????????????????????????????????
  978 root      109m S    /usr/bin/enigma2
  981 root      109m S    /usr/bin/enigma2
1028 root      109m S    /usr/bin/enigma2
1057 root      109m S N  /usr/bin/enigma2

And my flash RAM looked to be at around 80%.
 
Would you be able to confirm for me please if you also see multiple processes for SickBeard running please?

"ps aux | less" just in case you don't have the command to hand ;)
 
Code:
  644 root      189m S    /usr/bin/python /mnt/usb/sickbeard/SickBeard.py -q --
  646 root      189m S    /usr/bin/python /mnt/usb/sickbeard/SickBeard.py -q --
  647 root      189m S    /usr/bin/python /mnt/usb/sickbeard/SickBeard.py -q --
  648 root      189m S    /usr/bin/python /mnt/usb/sickbeard/SickBeard.py -q --
  649 root      189m S    /usr/bin/python /mnt/usb/sickbeard/SickBeard.py -q --
  650 root      189m S    /usr/bin/python /mnt/usb/sickbeard/SickBeard.py -q --
  651 root      189m S    /usr/bin/python /mnt/usb/sickbeard/SickBeard.py -q --
  660 root      189m S    /usr/bin/python /mnt/usb/sickbeard/SickBeard.py -q --

Yep sure do. The sickbeard python script needs python's multiprocessing module to run
 
So I found out that the problem is CouchPotato eating up all my memory. It was at 114% memory usage before I had to kill the process as I was getting a spinner on the TV. My RAM was at 98% and then the swap file starts getting used up pretty quickly i.e. 10% every minute or so.

Anyone got an idea why it started acting this way? It was fine the past week.
 
I got the memory usage down to around the 45-55% mark.
I noticed I had around 8 or 9 items in my wanted list so I removed some and left just 4. I also disabled the Management of my video library through CouchPotato. I also had a torrent checker enabled by mistake that required a login and password but I didn't provide any. So it seems one or all of these things contributed to my memory problem. Or let's wait and see how it is this time next week…
 
OK. So I figure the cheapest and least painful way (i.e. not interrupting regular tv viewing for others) was to buy a second Raspberry Pi and run SB and CP on that instead. Makes more sense to offload file server duties to a dedicated piece of hardware that doesn't break the bank. I have a feeling I'll need therapy once this is finished :eek:
 
Back
Top