Plex Media Sever wake up Synology NAS every hours

Hello,

I have a NAS DS114 with latest firmware and I use PMS also latest release.

I realize that my NAS wakes up exactly every hour since I started using PLEX.
If I stop the server the sleep mode works correctly, so I’m sure it comes from PLEX.
I tried to deactivate everything I could in the options but it doesn’t change anything.
In the logs I can see this every hour:
[1897448304] DEBUG - [ViewStateSync] Starting
[1897448304] DEBUG - [ViewStateSync] No user tokens found; stopping
I think this is the start of the solution but I don’t know what to do.
Apparently there are other people having the same problem but no one can find a solution.
Can you help me?

Synology NAS systems won’t sleep.

Plex has internal tasks which run. Of importance is the tasking to ‘ping’ plex.tv and confirm Remote Access is still working / your WAN IP has not changed.

NAS HDDs are intended to keep running. Wear and tear occurs every time the heads park / retract. There is more damage from thermal changes and park/retract than constant spinning at a stable temperature.

Each HDD typically uses 12 watts of power when spinning idle.
They draw max power at spin-up and head loading.

NAS systems stage HDD spin up because of the power supply size for this reason.

I use my NAS 4 hours a day, so I prefer it to consume 2w in standby for 20 hours rather than 12W for 24 hours.

If you’re only using it for 2 hours, why not just turn it off when not using?
DSM only needs 4 minutes to startup

The NAS is not easily accessible, it must wake up on its own.
Anyway, I don’t have any problems with the NAS, the problem is PLEX which wakes up the NAS every hour.

Plex can’t change because what you want is part of the fundamental design.

What I can suggest, which works with both my Synology and QNAP nas systems as well as all those in our HQ Lab – Wake-On-LAN (WOL)

I have two machines which go into full standby . They wake when I ping them.

I also have the Syno’s wake up for backup.
Here’s the on-demand script I use for WOL

root@glockner:/home/chuck/bin# cat WakeSyno 
#!/bin/bash

echo 'Waking up Moesern'
wakeonlan 00:11:32:35:B7:4F  >& /dev/null
sleep 3
wakeonlan 00:11:32:35:B7:4F  >& /dev/null

# Now wait until date returns a value and error code is zero
Waiting=1

while [ $Waiting -gt 0 ]; do

  Date="$(ssh admin@moesern date 2> /dev/null)"

  if [ "$Date" != "" ] ; then

    Waiting=0
    echo "Moesern is awake"
  else

    # Sleep a little while longer
    sleep 30
  fi
done

# Wait 3 minutes for all services to start
sleep 180

#   All done
root@glockner:/home/chuck/bin# 

Thank you but my TV can’t ping the server to wake up.

If it’s not possible to stop this hourly connection simply in the settings I will try to find another media server.

Why not just enable/disable the PlexMediaService by Task?
Or maybe find a way to start the Service by portknocking?

because my TV can’t send a task to enable the PMS.

But you can set two tasks.
Enable Plex 7pm
Disable Plex on 11pm
or whatever timeframe you usually use plex…

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.