I've enjoyed SAbnzbd+ 0.3.0 now for about a week on a Debian x86 box Many thanks to the devs
That's why i decided i wanted it on my Conceptronic CH3SNAS (NAS which is almost the same as D-Link DNS-323).
The CH3SNAS runs a chrooted Debian etch install. SABnzbd+ 0.3.0 (final) does run and is able to download. It even gets the max speed of my internet connection (about 630 KB/sec)
However there is one weird thing. After starting SABnzbd there are exactly 20 SABnzbd.py (all with different pid) processes running. But on my Debian x86 there is only one SABnzbd.py proces.
What is causing this?
Multiple SAB processes
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: Multiple SAB processes
Top on my LinkStation shows 1 process, HTop or other process viewers show multiple processes. What are you using to view processes?
Re: Multiple SAB processes
Both ps -A and top show 20 processes.
Btw, if i shut down SABnzbd through the webinterface all the processes disappear.
Btw, if i shut down SABnzbd through the webinterface all the processes disappear.
Last edited by barlow on February 11th, 2008, 12:57 pm, edited 1 time in total.
Re: Multiple SAB processes
What command do you use to start sabnzbd+ ?
Re: Multiple SAB processes
./SABnzbd.py -d -f sabnzbd.ini
This is in my init script.
This is in my init script.
Re: Multiple SAB processes
That seems normal.
What happens when you use :
./SABnzbd.py -d -f /theplace/wheretheiniis/sabnzbd.ini
What happens when you use :
./SABnzbd.py -d -f /theplace/wheretheiniis/sabnzbd.ini
Re: Multiple SAB processes
That makes no difference. Every time exactely 20 processes
Re: Multiple SAB processes
I'm experiencing the exact same behavior on CentOS 5.2, using htop to monitor processes.
Any resolution to this?
edit: 0.4.6
Any resolution to this?
edit: 0.4.6
Re: Multiple SAB processes
Do you think it's a problem?
The program uses about 20 threads.
How the library of Python creates these threads may depend on the available OS kernel.
Put the program below in a file, let Python run it and see what the OS says about it.
The program uses about 20 threads.
How the library of Python creates these threads may depend on the available OS kernel.
Put the program below in a file, let Python run it and see what the OS says about it.
Code: Select all
#!/bin/python
import threading
import time
class Tester(threading.Thread):
def __init__(self, name):
threading.Thread.__init__(self)
self.name = name
def run(self):
while 1:
time.sleep(2.0)
print self.name
one = Tester("one")
two = Tester("two")
three = Tester("three")
four = Tester("four")
five = Tester("five")
one.start()
time.sleep(0.5)
two.start()
time.sleep(0.5)
three.start()
time.sleep(0.5)
four.start()
time.sleep(0.5)
five.start()
while 1:
time.sleep(0.5)
Re: Multiple SAB processes
As I posted elsewhere, it's htop, not sabnzbd. htop defaults to showing threads as processes, so multi-threaded applications (like sabnzbd) show up multiple times.