Page 1 of 1

[SOLVED]100% CPU when Waiting ... Sec to download NZB from ...

Posted: September 9th, 2017, 8:28 am
by hasu0bs
Hi,

I recently notices that the python2 process of sabnzbd eats up 100% cpu. I go to the webinterface and see that its waiting for usenet-crawler. com. This is ok, but why is sabnzbd using 100% CPU when its waiting? Debug log:

sprunge. us/eCfi

On stderr I also get a couple of these:

Code: Select all

2017-09-09 15:13:37,215::INFO::[urlgrabber:187] Retry URL usenet-crawler. com/getnzb/6a8e45881148bfad5de8a951183d4b45.nzb&i=284155&r=b4d8c8b4a3d56b9efcd4cc38d4f9cae4
I hope you can help me, let me know what else I can provide.

Re: 100% CPU when Waiting ... Sec to download NZB from ...

Posted: September 9th, 2017, 9:36 am
by safihre
What is the error code that usenet-crawler is sending when you just open the URL in the browser?
It should wait 60 seconds.

Re: 100% CPU when Waiting ... Sec to download NZB from ...

Posted: September 10th, 2017, 5:35 am
by hasu0bs
The site is saying
Too Many Requests

Wait 132 minutes or risk being temporarily banned.
The minutes are correctly picked up by sabnzbd and translated to ~ "7800 Sek waiting" in the download.

Re: 100% CPU when Waiting ... Sec to download NZB from ...

Posted: September 10th, 2017, 5:36 am
by safihre
Could you send me a full URL at safihre@sabnzbd.org? Then maybe I can look at the headers and see what is going wrong.

Re: 100% CPU when Waiting ... Sec to download NZB from ...

Posted: September 10th, 2017, 5:37 am
by hasu0bs
Email sent :)

Re: 100% CPU when Waiting ... Sec to download NZB from ...

Posted: September 10th, 2017, 5:46 am
by safihre
Bug found and will be fixed for 2.3.0.

Re: 100% CPU when Waiting ... Sec to download NZB from ...

Posted: September 10th, 2017, 6:33 am
by hasu0bs
Wow, that was fast! Thank you!!