Page 1 of 1

Serviio 1.4 keeps NAS (DS213) from sleeping?

PostPosted: Wed Jan 08, 2014 10:52 am
by olivex
I set my NAS (Synology DS213) to hibernate after being idle for 10 minutes. It worked well before I installed Serviio. After I installed Serviio and set metadata update to every 7200 minutes (5 days), my NAS still waked up about every hour. If I shutdown Serviio then it could hibernate as expected.
Recently I updated to Serviio 1.4 and this gets worse. NAS doesn't hybernate at all.
I enabled DEBUG log and uploaded the log as attached. This log was gathered before I stopped Serviio. So in the log I can see that Serviio is always busy. It never stops.
Is there a way to set Serviio to stay idle when there is no external requests?
serviio.log
(137.18 KiB) Downloaded 492 times

Re: Serviio 1.4 keeps NAS (DS213) from sleeping?

PostPosted: Thu Jan 09, 2014 1:05 am
by npuser
Besides checking frequency of library or meta refresh interval - you may also want to add following to JAVA_OPTS to see if it helps.


  Code:
-Djava.util.prefs.syncInterval=9999999 -Dplugins.check=false


syncinterval milliseconds; constant new plugin check false

NPuser

Re: Serviio 1.4 keeps NAS (DS213) from sleeping?

PostPosted: Fri Jan 10, 2014 2:53 pm
by olivex
npuser wrote:Besides checking frequency of library or meta refresh interval - you may also want to add following to JAVA_OPTS to see if it helps.


  Code:
-Djava.util.prefs.syncInterval=9999999 -Dplugins.check=false


syncinterval milliseconds; constant new plugin check false

NPuser

I checked serviio.sh, the current value is 86400, and I think it is seconds not milliseconds, so it is 24 hours. It shouldn't wake up myNAS every hour?
As for plugins.check, I don't see a setting in the script. What is plugins anyway?

Re: Serviio 1.4 keeps NAS (DS213) from sleeping?

PostPosted: Sat Jan 11, 2014 12:48 am
by olivex
npuser wrote:Besides checking frequency of library or meta refresh interval - you may also want to add following to JAVA_OPTS to see if it helps.


  Code:
-Djava.util.prefs.syncInterval=9999999 -Dplugins.check=false


syncinterval milliseconds; constant new plugin check false

NPuser

I changed syncinterval to 864000, which should be 240 hours, and plugins.check to false. And I set the lg level back to INFO. Now the NAS wakes up exactly every hour. I suspect it didnt go to sleep because the DEBUG log keep it running.
But my problem is still not solved. I wakes up every hour.

Re: Serviio 1.4 keeps NAS (DS213) from sleeping?

PostPosted: Mon Jan 13, 2014 12:01 am
by npuser
Make sure orange box is check not green and red.

http://wiki.serviio.org/doku.php?id=pc5dczc_console_explained

NPuser

Edit: forgot to include a link

Re: Serviio 1.4 keeps NAS (DS213) from sleeping?

PostPosted: Mon Jan 13, 2014 3:50 am
by olivex
npuser wrote:Make sure orange box is check not green and red.

NPuser

What is 'orange box'?

Also, from here:
https://bitbucket.org/xnejp03/serviio/i ... nt-7681289

Does it mean it was admitted as a bug?

Re: Serviio 1.4 keeps NAS (DS213) from sleeping?

PostPosted: Mon Jan 13, 2014 5:08 am
by zip
I will look at it for 1.4.1. can you provide detail log of around the time the nas wakes up and attach it to the ticket?

Re: Serviio 1.4 keeps NAS (DS213) from sleeping?

PostPosted: Mon Jan 13, 2014 11:57 am
by olivex
zip wrote:I will look at it for 1.4.1. can you provide detail log of around the time the nas wakes up and attach it to the ticket?

Yes. The uploaded log in this post a bit earlier is a detailed log (with 'DEBUG' set). However, I noticed that, with 'DEBUG' set, the NAS never hibernates. While I look at the log, it seems Serviio is active every second, so I suspect the fact that detail log keeps writing prevents hibernation at all.
If I stop detail log, NAS hibernates but wakes up every exact hour. I have set media info refresh to 7200 min, syncinterval to 864000, and plugsin.check=false.

Re: Serviio 1.4 keeps NAS (DS213) from sleeping?

PostPosted: Mon Jan 13, 2014 8:26 pm
by olivex
I'm pretty sure this wake-up-per-hour is caused by Serviio because if I stop Serviio, that wake-up disappears and the hibernation works as expected.

Re: Serviio 1.4 keeps NAS (DS213) from sleeping?

PostPosted: Thu Apr 17, 2014 7:50 pm
by MarcelTheRadioMan1
I've Serviio 1.4.1.2 installed on a DS213j. After installation my NAS doesn't hybernate anymore. I'm pretty sure Serviio caused this problem. Please help!

Re: Serviio 1.4 keeps NAS (DS213) from sleeping?

PostPosted: Sun Jun 15, 2014 11:10 am
by NRB
My DS413 still won't hibernate when serviio is running. When it's off, the NAS hibernates after 10 minutes as programmed to.

I've added "-Dplugins.check=false" as described.

Re: Serviio 1.4 keeps NAS (DS213) from sleeping?

PostPosted: Sat Jul 12, 2014 12:49 pm
by NRB
I'm still experiencing no hibernation when Serviio's running on my NAS. Can anyone provide some advice?

Re: Serviio 1.4 keeps NAS (DS213) from sleeping?

PostPosted: Tue Jul 29, 2014 2:23 pm
by snowflake7
Bump.

I have a DS412+ amd a DS214play. Both display the hibernate issue when the serviio package is running.

Is there a solution?

Re: Serviio 1.4 keeps NAS (DS213) from sleeping?

PostPosted: Wed Oct 22, 2014 11:26 pm
by NRB
BUMP

Re: Serviio 1.4 keeps NAS (DS213) from sleeping?

PostPosted: Fri Oct 24, 2014 3:01 am
by olivex
It's been a long time there is no update of this software.