Hello
I have the SABnzbd.py-0.5.6 version on a Synology DS211 server. ( DSM3.0)
It runs but the python process is very high when downloading something
Here is a log of the transfer,
There are lot of
"2011-02-21 19:54:50,011::INFO::[__init__:702] /var/packages/sab2/target/sab/cache/SABnzbd_article_ui9EOU removed"
is it normal stuff ?
Thanks for your help
Python high load when downloading news (on Synology)
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: Python high load when downloading news (on Synology)
SABnzbd is a bit of a CPU and memory hog.
The logging message is normal.
These are articles that have been assembled into files
and are no longer needed.
BTW: this should really be a debug logging message and not an info one.
Normally you should set logging to Warnings/Errors only.
Logging takes resources too.
The logging message is normal.
These are articles that have been assembled into files
and are no longer needed.
BTW: this should really be a debug logging message and not an info one.
Normally you should set logging to Warnings/Errors only.
Logging takes resources too.
Re: Python high load when downloading news (on Synology)
ok
in my case cpu load is 90% for python process on a 1.6GHz CPU
lowering the trace output does not make any difference
in my case cpu load is 90% for python process on a 1.6GHz CPU
lowering the trace output does not make any difference
Re: Python high load when downloading news (on Synology)
Doesn't sound unlikely, especially if you have SSL on.
Do you have many connections open to the Usenet server(s).
More isn't always better.
Do you have many connections open to the Usenet server(s).
More isn't always better.
Re: Python high load when downloading news (on Synology)
I don't use SSL and my connection number is limited to 20.
Today I tried with the 0.6.0 beta 2 and it doesn't give any improvements
I will try with just few connections and maybe also limit bandwidth and tell you the results
Today I tried with the 0.6.0 beta 2 and it doesn't give any improvements
I will try with just few connections and maybe also limit bandwidth and tell you the results
Re: Python high load when downloading news (on Synology)
Just checking.
Do you know if your Synology package has a compiled C yenc module?
If not, SABnzbd will do yEnc decoding in Python, which is rather expensive.
Do you know if your Synology package has a compiled C yenc module?
If not, SABnzbd will do yEnc decoding in Python, which is rather expensive.
Re: Python high load when downloading news (on Synology)
Yes the Synology has a yenc module
So I made some tests : reducing connection number has no impact
But reducing bandwidth helps a lot
My full bandwidth is 2MBytes
- With no limit , and no other bandwidth usage : cpu load is over 90%
- Reducing it to 1024 give a CPU load of 15% and 30% for 1536
But what may be interested is :
with Sabnzbd bandwith limit set to 1384 and another internet usage ( such as video on youtube ), the CPU load goes directly to 95% and the reached SABnzbd bandwith is just over 1MB
I set the limit to 1024, and the CPU load goes to 10 % !!!
It seems that a function loops ( or something like this ) , and loads the CPU if the limit is not reached ...
So I made some tests : reducing connection number has no impact
But reducing bandwidth helps a lot
My full bandwidth is 2MBytes
- With no limit , and no other bandwidth usage : cpu load is over 90%
- Reducing it to 1024 give a CPU load of 15% and 30% for 1536
But what may be interested is :
with Sabnzbd bandwith limit set to 1384 and another internet usage ( such as video on youtube ), the CPU load goes directly to 95% and the reached SABnzbd bandwith is just over 1MB
I set the limit to 1024, and the CPU load goes to 10 % !!!
It seems that a function loops ( or something like this ) , and loads the CPU if the limit is not reached ...
Re: Python high load when downloading news (on Synology)
Interesting.gg99 wrote: It seems that a function loops ( or something like this ) , and loads the CPU if the limit is not reached ...
There is indeed a loop involved.
But I did not expect this non-linear behaviour.
I'll make a note of this for the next time re-examine the download engine.