Search found 160 matches

by Puzzled
May 20th, 2019, 3:38 am
Forum: Beta Releases
Topic: Optimizing SABnzbd
Replies: 17
Views: 13720

Re: Optimizing SABnzbd

Is the develop branch or the py3 branch going to be the new main branch when you switch to Python 3? I hope you will merge all the fixes done in develop to py3, otherwise it is hard to know if what I'm testing has already been fixed in the other branch. If not it's probably better if I use the devel...
by Puzzled
May 19th, 2019, 4:12 pm
Forum: Beta Releases
Topic: Optimizing SABnzbd
Replies: 17
Views: 13720

Re: Optimizing SABnzbd

I have 11 servers with various different priority levels. When I deactivate all but 1 the number of calls to NzbQueue.get_article is reduced to ~600/minute. The cpu usage is still ~10%, the loop will iterate ~430 times/second, but only 12-13 articles are added every second. Sleeping 0.001 seconds ev...
by Puzzled
May 19th, 2019, 9:17 am
Forum: Beta Releases
Topic: Optimizing SABnzbd
Replies: 17
Views: 13720

Optimizing SABnzbd

Sorry about the tables, I couldn't find a way to get monospaced fonts. I have been trying to understand SABnzbd in order to find ways to reduce the CPU consumption and if possible make it run smoother. I haven't done any Python stuff before, but I've done lots of programming in other languages. My s...
by Puzzled
May 17th, 2019, 10:58 am
Forum: Beta Releases
Topic: py3-branch/Windows sabnzbd API-error
Replies: 2
Views: 2695

py3-branch/Windows sabnzbd API-error

I have checked out SABnzbd from Git py3 branch on Windows. I don't have any experience with Python so this may well be a user error. Anyway, when it gets this request: http://localhost:5342/api?mode=history&name=delete&del_files=1&value=SABnzbd_nzo_lnnxc9kp&apikey=(removed)&outpu...
by Puzzled
May 17th, 2019, 6:30 am
Forum: General Help
Topic: Python 2 or 3 for development?
Replies: 1
Views: 1171

Python 2 or 3 for development?

Hi, I've checked out the default branch from git on Windows to see if I can figure out how it works and contribute in any way. I am currently using Python 2.7 but I saw the notice about switching to python3. Does that mean that I can/should update to python3 now, or that it will be prepared for pyth...
by Puzzled
May 7th, 2019, 6:49 am
Forum: Bug Reports
Topic: 1.2.0 Interface Options (Compact and Tabbed)
Replies: 8
Views: 5061

Re: 1.2.0 Interface Options (Compact and Tabbed)

The interface config seem to be forgotten in Firefox even when I just close the tab and open SABnzbd in a new one, possibly because it's running on localhost. It would be very nice if it was possible to set this on the server side.
by Puzzled
September 15th, 2017, 11:55 am
Forum: General Help
Topic: Obscured download not processing correctly
Replies: 13
Views: 4712

Re: Obscured download not processing correctly

There are lots of threads about obfuscated names in the Sonarr forum, maybe you can find something there. https://forums.sonarr.tv/search?q=obfuscated
by Puzzled
September 5th, 2017, 4:36 pm
Forum: Bug Reports
Topic: 2.2.1 uses much more cpu than 2.2.0
Replies: 9
Views: 4753

Re: 2.2.1 uses much more cpu than 2.2.0

I just installed 2.3.0 Alpha 2, and the CPU usage is back to being neglible. Thanks. I tried installing 2.2.1 first just to make sure and it used 25%+ on the same file, so the new version definitely fixed it for me. I have multiple servers but only one was active on the file I was testing.
by Puzzled
September 2nd, 2017, 4:45 am
Forum: Bug Reports
Topic: 2.2.1 uses much more cpu than 2.2.0
Replies: 9
Views: 4753

Re: 2.2.1 uses much more cpu than 2.2.0

Thanks for your reply, but that doesn't explain why 2.2.1 uses 10x more CPU when I'm not setting a bandwidth limit manually. It does so permanently and every time, not just for a few seconds.
by Puzzled
September 2nd, 2017, 3:48 am
Forum: Bug Reports
Topic: 2.2.1 uses much more cpu than 2.2.0
Replies: 9
Views: 4753

2.2.1 uses much more cpu than 2.2.0

I'm using two usenet servers, one is IPv4 and one is IPv6. I get a total of about 1 MB/s, limited by the usenet servers and not my connection. Without bandwidth limiting the CPU usage is about 30% on a 4 core CPU in Windows 10 64 bit (1 core is running 100%), and about the same when I run SABnzbd in...