SABnzbd wakes up far too frequently
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.
SABnzbd wakes up far too frequently
It appears from an strace that SABnzbd uses a select() with a 500 microsecond timeout causing it to wake up the CPU way more frequently than it needs. It would be better to have a large timeout and a pipe in the select set to wake it up if necessary.
Re: SABnzbd wakes up far too frequently
Have you tested with other values and "the pipe" and whether or not this has side effects?
I would be interested to know.
It's always nice to see pro-active users.
I would be interested to know.
It's always nice to see pro-active users.
Re: SABnzbd wakes up far too frequently
Where is the canonical source repository? I couldn't find a mention of it and the SF.net project doesn't appear to have enabled any source code revision control features.shypike wrote: Have you tested with other values and "the pipe" and whether or not this has side effects?
I would be interested to know.
It's always nice to see pro-active users.

