Jump to content

Recommended Posts

jonboyuk
Posted

Recently Emby has been keeping my Synology NAS from entering Disk Hibernation.

 

It was suggested on here that I turn off Auto Port Mapping, which I did and it fixed it :)

 

However since the most recent update, it's preventing Disk Hibernation again, but the port mapping is still switched off. What changed in the update? :/

Posted

Please attach the emby server log, thanks.

jonboyuk
Posted

Please attach the emby server log, thanks.

 

Thanks Luke - log attached.

embyserver.txt

Posted

What time did you expect the server to go to sleep?

FrostByte
Posted

I haven't configured it to sleep, just scheduled power off/on.  I'll set it up to sleep though to see if it works.

 

There's another long thread in here also on the issue I need to re-read

FrostByte
Posted

Okay, HDD hibernation turned on and no DLNA.  I'll watch for the lights after we're done watching

Posted

So it worked for you?

FrostByte
Posted

No it does not.  I've turned off RTM, DLNA, Port Mapping and I even tried removing my NAS from the network and the NAS will not hibernate with Emby running.  However, with Emby shut down they do hibernate.

Posted

did you remove the port mapper and dlna plugins altogether? do you have any other plugins that you've added aside from the pre-installed ones?

FrostByte
Posted

Correct, I've had those removed since several betas back.  Here is what I'm running

 

5d4ba840394dd_plugs.jpg

Posted

How long is the time to sleep?

FrostByte
Posted

I have it set for the lowest (10 mins) for testing

Posted

do you have the web app open while testing?

FrostByte
Posted

No, and I removed both NAS network cables from the router end,  No traffic in or out

Posted

Did anything write to the server log during those 10 minutes?

FrostByte
Posted

Nothing at all.

 

From the log you can see I removed the network at ~0147 and plugged it back in at ~0201.  I'm not seeing anything in the log between those times and the HDD didn't hibernate. 

 

Though when I shutdown Emby and do it again the system goes to sleep and the lights go out and when they wake up I'll see a message like this in the Synology log "Internal disks woke up from hibernation.".

 

https://pastebin.com/avctUs9x

Posted

do you have schedule tasks ? emby or syno apps schedule tasks prevents the syno to go to sleep

FrostByte
Posted

do you have schedule tasks ? emby or syno apps schedule tasks prevents the syno to go to sleep

 

No Emby tasks scheduled during the times when tested.  Nothing seen in the logs

 

I have no Synology tasks scheduled at all.  In fact I shutdown everything on the Synology (Surveilance Center, etc) except Emby and it never hibernates even when waiting an hour.  As soon as I shutdown Emby then 10 mins later the system hibernates.

Posted

ok, if you try to stop emby server, does the syno goes sleeping ? 

Posted

my bad, did not seen that it hibernate while emby is down

  • Like 1
Posted

No Emby tasks scheduled during the times when tested.  Nothing seen in the logs

 

I have no Synology tasks scheduled at all.  In fact I shutdown everything on the Synology (Surveilance Center, etc) except Emby and it never hibernates even when waiting an hour.  As soon as I shutdown Emby then 10 mins later the system hibernates.

 

Can you enable debug logging, restart the server, then repeat the test? Let's see if anything gets printed to the log. thanks.

FrostByte
Posted

Okay, I got my NAS to both hibernate the HDD after 10 mins and Sleep 10 mins after that with the network cables removed.  I'm going to try and see if it will hibernate with the network connected now.  

Posted

Interesting, thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...