DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-10-11 11:02:00

Keon91
Member
Registered: 2011-03-03
Posts: 24

funplug python sickbeard and sabnzbd lots of pidds

Hi,

I have succesfully installed sickbeard and sabnzbd.

but when they both run in deamon mode each have about 10 pid process.
Is there a way to reduce this? (see attachement)


and another question, would it run more efficient/fast under a debian installation?

this is my sabnzbd.sh script:

#!/ffp/bin/sh
case "$1" in
start)
  echo "Starting SABnzbd."
  /ffp/bin/python2.6 /ffp/share/SABnzbd/SABnzbd.py --daemon
;;
stop)
  echo "Shutting down SABnzbd."
  /usr/bin/wget -q --delete-after "http://localhost:8080/sabnzbd/api?mode=shutdown&apikey=APIMOETHIER"
;;
*)
  echo "Usage: $0 {start|stop}"
  exit 1
esac
exit 0

I think I need to do somthing with a pidfile but I am not that experianced.

Greetings

Keon91

Last edited by Keon91 (2011-10-11 14:32:22)


Attachments:
Attachment Icon pid.jpg, Size: 435,579 bytes, Downloads: 199

Offline

 

#2 2011-10-11 13:34:51

djgreedo
Member
Registered: 2011-10-08
Posts: 6

Re: funplug python sickbeard and sabnzbd lots of pidds

I can't help you, but I notice a similar result on my DNS-323 running SABnzbd, SickBeard, and Couch Potato.

Running the command:

ps

Shows me about 15 instances of each  of the three apps.

I have no idea if this is normal as I'm a complete Linux noob. I can say that all 3 apps perform poorly in the web UI. I had just assumed it was the lack of processing power in the NAS. It's not a huge problem for me because it is supposed to all work in the background with little interaction from me.

Offline

 

#3 2011-10-29 11:13:26

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: funplug python sickbeard and sabnzbd lots of pidds

sabnzbd uses alot of memory and alot of threads. Reducing threads used does not seem to be easily configured http://forums.sabnzbd.org/viewtopic.php?t=3556

sabnzbd isnt designed for this type of resource starved device and it runs poorly on it. running native debian free up some memory since / filesystem is on disk rather than RAM, maybe that helps little maybe not.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB