Newsbin prevents sleep when idle.

This is the place to help test and discuss Version 6 Beta releases.

Newsbin prevents sleep when idle.

Postby macspan » Thu Apr 02, 2015 2:56 am

Hi,

I have tried everything I can think of and cant find any options to prevent this. Whenever newsbin is open it prevents my computer from sleeping. If i close newsbin it will sleep with no dramas. This is a problem because I want newsbin to run in the background when my pc is awake to look for files in the watch folder to download, but I dont want it to keep the pc on when nothing is downloading and nothing is using the pc, if i leave newsbin running the pc runs 24/7 and will never sleep. Is this a known bug or is there an easy fix/workaround? Any assistance would be appreciated.

Cheers,
macspan
Occasional Contributor
Occasional Contributor
 
Posts: 15
Joined: Wed Jun 05, 2013 9:40 am

Registered Newsbin User since: 10/11/12

Re: Newsbin prevents sleep when idle.

Postby Quade » Thu Apr 02, 2015 8:44 am

What version are you using? If I had to guess, I'd guess bug. Probably something still tickling the "don't sleep" function.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 42514
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin prevents sleep when idle.

Postby macspan » Thu Apr 02, 2015 1:31 pm

Using the latest Beta 6.60B8
macspan
Occasional Contributor
Occasional Contributor
 
Posts: 15
Joined: Wed Jun 05, 2013 9:40 am

Registered Newsbin User since: 10/11/12

Re: Newsbin prevents sleep when idle.

Postby macspan » Fri Apr 03, 2015 2:53 am

I'd drop back a version or so but I dont want to sacrifice the Sickbeard Integration. Are you able to replicate the problem?
macspan
Occasional Contributor
Occasional Contributor
 
Posts: 15
Joined: Wed Jun 05, 2013 9:40 am

Registered Newsbin User since: 10/11/12

Re: Newsbin prevents sleep when idle.

Postby Quade » Fri Apr 03, 2015 8:42 am

I haven't tried yet. None of my machine are allowed to sleep. I simply believe your report and added an action item to look into it.

I'll probably log when I tickle the "don't sleep" call and see if it goes away when Newsbin goes idle.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 42514
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin prevents sleep when idle.

Postby macspan » Fri Apr 03, 2015 10:33 pm

Alright cool, thanks!
macspan
Occasional Contributor
Occasional Contributor
 
Posts: 15
Joined: Wed Jun 05, 2013 9:40 am

Registered Newsbin User since: 10/11/12

Re: Newsbin prevents sleep when idle.

Postby macspan » Tue Apr 14, 2015 9:55 am

Assuming you havnt gotten to looking into this yet. Just letting u know that if it is a bug, its still present in beta 9.
macspan
Occasional Contributor
Occasional Contributor
 
Posts: 15
Joined: Wed Jun 05, 2013 9:40 am

Registered Newsbin User since: 10/11/12

Re: Newsbin prevents sleep when idle.

Postby Quade » Tue Apr 14, 2015 10:58 am

I'll have to look again. In my testing it stopped making the call to keep the system awake after the download and unrar finished.

Are you using watch lists that automatically poll the search server?
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 42514
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin prevents sleep when idle.

Postby macspan » Tue Apr 14, 2015 5:29 pm

nah, i don't use the newsbin watch list function at all.
macspan
Occasional Contributor
Occasional Contributor
 
Posts: 15
Joined: Wed Jun 05, 2013 9:40 am

Registered Newsbin User since: 10/11/12

Re: Newsbin prevents sleep when idle.

Postby macspan » Wed Apr 22, 2015 12:07 pm

still present in beta 10... tried just about everything i can think of to no avail. can anyone else who has been viewing this thread confirm that newsbin prevents sleep when open and not downloading, and that im not going crazy?! lol
macspan
Occasional Contributor
Occasional Contributor
 
Posts: 15
Joined: Wed Jun 05, 2013 9:40 am

Registered Newsbin User since: 10/11/12

Re: Newsbin prevents sleep when idle.

Postby Quade » Wed Apr 22, 2015 1:06 pm

I'm not doubting you. Like free disk space checking, it's one of the harder things to test.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 42514
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin prevents sleep when idle.

Postby macspan » Sun Apr 26, 2015 10:39 am

Awesome! Can confirm this now works in Beta 11. Thank you so much!
macspan
Occasional Contributor
Occasional Contributor
 
Posts: 15
Joined: Wed Jun 05, 2013 9:40 am

Registered Newsbin User since: 10/11/12

Re: Newsbin prevents sleep when idle.

Postby Quade » Sun Apr 26, 2015 11:54 am

Thanks for the feedback. Something I wasn't expecting was tickling windows keeping it alive.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 42514
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin prevents sleep when idle.

Postby macspan » Tue Sep 08, 2015 8:01 am

Just a heads up it seems like this issue has come back on 6.61 RC1. It is fine in 6.61B3
macspan
Occasional Contributor
Occasional Contributor
 
Posts: 15
Joined: Wed Jun 05, 2013 9:40 am

Registered Newsbin User since: 10/11/12

Re: Newsbin prevents sleep when idle.

Postby Qoissi » Tue Dec 15, 2015 6:56 pm

Hello, just to mention macspan is not alone as I'm experiencing exactly the same.
Download is finished, no activity, but the PC doesn't go to sleep mode. If I quit NB then no problem, the PC goes to sleep after the normal timeout.
I'm noticing this very annoying behavior since few releases, probably since 6.60 this summer, and now running 6.62.
If I can help to point out the root cause don't hesitate to ask questions, I can share my config, etc.
Thanks.
Qoissi
n00b
n00b
 
Posts: 2
Joined: Sat Dec 13, 2014 6:57 am

Registered Newsbin User since: 12/13/14

Re: Newsbin prevents sleep when idle.

Postby Quade » Thu Dec 17, 2015 2:18 am

I'll have to look. Thanks.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 42514
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin prevents sleep when idle.

Postby discomike » Sun Jan 10, 2016 8:06 am

After over a day of troubleshooting I can confirm that Newsbin (6.62) is what's preventing my PC from sleeping too.
discomike
n00b
n00b
 
Posts: 2
Joined: Fri Nov 14, 2003 3:57 pm

Registered Newsbin User since: 11/12/03

Re: Newsbin prevents sleep when idle.

Postby samboy » Sat Nov 11, 2017 11:55 am

I now see this problem when I upgraded from the released 6.73 to 6.80B10

System will not go into sleep mode even though the download list is empty and everything appears to be idle. Closing newsbin and the system will sleep in the scheduled 20 minutes.

I saw that there is a 6.80B11 and have updated to this......... but didn't see any comments in the release notes and will report back if this corrects the problem.
samboy
Occasional Contributor
Occasional Contributor
 
Posts: 10
Joined: Mon Jan 01, 2007 2:21 pm

Registered Newsbin User since: 01/01/07

Re: Newsbin prevents sleep when idle.

Postby Quade » Sat Nov 11, 2017 4:26 pm

Is it importing headers still?
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 42514
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin prevents sleep when idle.

Postby samboy » Sun Nov 12, 2017 11:50 am

Quade wrote:Is it importing headers still?


No, but when I expect Newsbin to be idle (i.e. download list empty and not obtaining headers which is set for every 150 minutes) then "Process Hacker" tells me that NewsBin is writing 4 bytes of information every few seconds.

I checked the NewsBin data directory and the most recent files don't seem to be getting written to. The most recent file was the LogFile.txt but I didn't see this being modified and when I exited NewsBin the LogFil.txt didn't grow longer (in case any of the I/O was being buffered)

Not even sure if a continuous 4 byte write every few seconds (which could be Socket I/O) is enough to prevent windows going to sleep? Absolutely no read I/O just write.
samboy
Occasional Contributor
Occasional Contributor
 
Posts: 10
Joined: Mon Jan 01, 2007 2:21 pm

Registered Newsbin User since: 01/01/07

Re: Newsbin prevents sleep when idle.

Postby Quade » Sun Nov 12, 2017 3:35 pm

You can tell by looking at the "Cache" line. If you see a number in parens, it's still importing headers.

(i.e. download list empty and not obtaining headers which is set for every 150 minutes)


If you let it go to sleep, it won't download headers in 150 minutes right?
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 42514
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin prevents sleep when idle.

Postby samboy » Sun Nov 12, 2017 3:55 pm

Thanks - I've confirmed that the number in parens is (0) so not importing headers.

Fully expect that if the machine goes to sleep header download will not happen until I wake up the computer again (and not worth NewsBin to set an awake timer every 150 minutes as wouldn't want to wake the system for a header download anyway).

Let me know if there is anything else to check?
samboy
Occasional Contributor
Occasional Contributor
 
Posts: 10
Joined: Mon Jan 01, 2007 2:21 pm

Registered Newsbin User since: 01/01/07


Return to Newsbin Version 6 Beta Support

Who is online

Users browsing this forum: BZee and 3 guests