PLEX Server prevents sleep of Windows 64

Server Version#: 1.17.0.1709
Player Version#:

So. PLEX Server prevents sleep of Windows 64
Not always - but sometimes. In 50% occasions my computer is turned ON in the morning. Makes troubleshooting complicated!

“Support Away Mode when preventing system sleep” is on or off - doesn’t matter.

I had this problem for years. Blamed buggy motherboard of my old computer - but purchased a new machine last week and the problem bubbled up again after installing Plex.

What behaviour are you expecting/hoping for?

Seems to me that you would want to suppress sleep mode 100% of the time to allow PMS to be available all the time, but it is not clear that is what you are looking for.

Windows sleep mode always has been an utter mess, with multiple generations of hardware / BIOS support, OS support and limited user knowledge/agreement on what can / should / need to wake it up. That being said, disabling sleep-mode completely is much easier to fix than getting it to automatically enter and exit sleep when you wish it did.

If it comes down to it, there are tiny apps that will run in the backgroups and some something innocuous, like tapping the shift key evey minute, enough to make sure idle sleep never kicks in. You shouldn’t need it, but they are available.
here is an example

I’m expecting my Windows machine go to and from sleep mode like my Mac does - without a flaw! Even when a Plex server is up and running.

The ONLY app that has problems with my fresh-installed Windows is PLEX. If I turn it off - Sleep Mode works fine. So, mentioning all the facts above, there’s nothing extraordinary in my expectations for PLEX to work with Sleep Mode as it SHOULD. Not to go to sleep mode when I’m watching something by LAN and sleep normally when there’s no access to PLEX Server.

Is it so hard to block the sleep mode while server is active and don’t block when there’s no calls to it? VLC programmers solved this just FINE!

The problem is NOT with tiny amount of electricity computer consumes when it’s not in sleep mode. The problem is NOISE of HDD and fans of my gaming the desktop itself.

What that means anyway??

You cannot sleep the computer with Plex server on it. As soon as the server switches into hibernation/stand-by/sleep, Plex won’t respond anymore to client requests.

You installed server software on your windows system, and when running PMS it needs to act as a server, and servers don’t sleep. They need to be available to service connections. When you don’t need it to be a server, disable plex media server, and it should act as a workstation again.

Servers do have a variety of power-saving modes, they can do things like putting unused resources to sleep (such as drives, sometimes fans) or in low power mode (like NICs or like CPUs, fans)

If you want to have a full-time server, I suggest you find ways to save noise and power in ways appropriate for a server. Fan controllers (BIOS or hardware) can run fans so quietly that they are inaudible. Many video cards stop fans completely when their usage is low. CPU power saving states can be enabled in the BIOS, and windows will run your CPU much slower than its top speed, producing less heat, allowing your CPU fan to run much slower and quieter.

Part of the problem I suppose is looking at this as a binary situation, and it is far from that. even powered off your system likely has portions still powered up and running (many systems can be turned on remotely across the network via wake on LAN or via Intel VPro management.

you need to find a perfect mixture where everything plex needs to serve is working, and everything else is asleep. don’t underestimate how difficult that may turn out to be. That’s why servers never sleep.

I really appreciate your thoughts, but I don’t want a full-time server. It’s a home media consolidation center. Not some enterprise 24/7 datacenter software.

I just want it to work as expected: if it’s busy - it prevents sleep. If it’s not - it doesn’t.

Developers of numerous bittorrent clients solved the problem of sleep just fine. Not speaking about VLC. Why didn’t PLEX?

In approximately 50% of time PMS DOES work as expected - so we DO know that it can behave logically. It’s the OTHER 50% bother me when it doesn’t. What prevents sleep in plex? Can’t figure it out.

2 Likes

Well, I CAN sleep the computer with PMS server on it when it’s idle. And it really does in 50%of times. It’s the OTHER 50% bother me when it doesn’t . It really must not prevent sleep if there is no active duties for the PMS.

Developers of numerous bittorrent clients solved this problem just fine. So it’s normal to expect the same from PLEX. At least there must be a choice for a user to prevent sleep when server is idle or not.

Furthermore, in 50% cases the PMS DOES behave as it’s expected. It’s the other 50% that bother me when it doesn’t. Furthermore on macOS PMS does not prevent sleep.

At least there must me a choice for a user in settings menu if a PLEX should prevent sleep or not.

PS The problem of computer not waking up when PLEX is being addressed from another machine is the OTHER serious problem. It really should. Via some magic packet or something.

Guys, you seriously intend to convince me that a home media center like PLEX should prevent sleep of the machine it runs on??? You cannot be serious.

At least I must have an option if if does prevent sleep or not.

Numerous Bittorrent clients have such option and it works fine. Why PLEX doesn’t???

If you can avoid words like “as expected” it might be helpful. your expectations might not be the save as the next person right? what is “reasonable” behaviour for a system is not always the same person to person.

Please be precise in what you want your plex experience to be.

What system power states are you looking for and what, in your opinon, should lead to the transition from one to another.

S0 is normal awake.
S1 is CPU stopped but powered
S2 is CPU powered off
S3 is systemstate is saved in RAM, all other resources are powered down
s4 is systemstate written to HDD, and all resources are powered down

Please note that all windows applications (including plex, vlc, bittorrent etc require the CPU to be active and thus only work in S0.

S1-S4 are considered sleep states.

Media center and media server are two different things. Plex is a Media Server.
It serves files. To do this is needs to be on, like all servers.

2 Likes

It seems logical that a system will not change it’s behaviour after installing any home use software. At least without a warning. It’s not me who started stating his personal opinion as " expected" system behaviour, right? I dont think that the word “server” should make machine not to go to slepp mode.

So I would expect my PLEX server not prevent sleep state when it’s installed.

Firthermore my machine GOES to sleep in approx 50% of cases when I use PMS. Can someone provide solution how one can make it 100% when PMS is not in use? Bittorent clients have no trouble with that - when they have active downloading they prevent sleep. When they are idle - they don’t. I would expect the same from ANY program on my machine

In my opinion absence of ANY active duties state of PMS should lead to normal sleep mode. Vice versa machine shold not sleep while any activity from any of clients is on this PMS. For example if I’m wanching a movie from specific PMS on my TV of smartphone.

Developers of numerous bittorrent clients managed to achive this functionality with no problem. Why PLEX didn’t?

I cant name the exact sleep state. Ordinary windows sleep state. When fans are off. S4 I suppose. Or S5 - I dont really care.

bittorent clients serve files also. But they dont have problems with preventing sleep state when there are no active duties.

I need the same behaviour from PLEX server. Is it possible on Windows? On Mac it works just fine.

No they don’t. They download files.

Not only. They also distribute them. All the same as PLEX does. No problem with sleep.

Why PMS has?

Why sleep mode works fine on mac OS then, if, as you incline, preventing sleep is “normal” operation of PMS even when it’s idle??

Why not provide to user option then - to turn on or off sleep prevention? As torrent clients do.

I would also like an answer from Plex as to what that actually means…

So does checking it stop the system from sleeping?

I didn’t notice any change in sleep behaviour whether its on or off/

That’s what I seen…

That’s why I would like to know what it is for.
I don’t think they create settings for no reason, then again…

I’m not sure why Plex members are so insistent on that server never needs to sleep.
In a 24/7 operation that’s true…
But I’m not running a 24/7 operation, and they insist that PMS is for personal use only. (as noted many times by staff “see TOS”)
So if I set it to sleep it should, that’s how I want it to work,
Most PMS system are only used about 6 hours an evening weekdays…

2 Likes