Plex media server - sleep question

Discussion in 'OS X Mountain Lion (10.8)' started by Tonsko, Oct 30, 2013.

  1. Tonsko macrumors 6502

    Tonsko

    Joined:
    Aug 19, 2010
    #1
    Hey all,

    Plex Server - 0.9.8.5
    OSX - 10.8.5

    So - I've had this problem with Plex Server since I upgraded from SL to ML. If I don't touch my MBP, the Plex server seems to shut down about 30-40 minutes into a show/film. (If I periodically use the mac, then the server doesn't shut off).

    I thought I'd solve it by using Caffeinate to start PMS via an alias in my .bashrc thus:

    alias plex='caffeinate -i open -W -a "Plex Media Server.app" &'

    but that doesn't solve the issue.

    Computer sleep is set to 3 minutes, display to 2 minutes, so that doesn't correspond to the PMS shutting down. Reading around the subject, ML does a lot more process shutting down in the background *I think*, that SL never did.

    Any ideas on what should I be looking for in the Plex Media Server.log file to try and ascertain the problem, as they're large.

    Any other tips on how to stop the process sleeping?

    Thanks!
     
  2. Tonsko thread starter macrumors 6502

    Tonsko

    Joined:
    Aug 19, 2010
    #2
    Bumpity-bump. Any clues? Something else I've noticed - if the power is plugged in, the server doesn't shut down.
     
  3. Tonsko, Nov 1, 2013
    Last edited: Nov 1, 2013

    Tonsko thread starter macrumors 6502

    Tonsko

    Joined:
    Aug 19, 2010
  4. Tonsko thread starter macrumors 6502

    Tonsko

    Joined:
    Aug 19, 2010
    #4
    This seems to be a foible of osx when it sleeps with the screen open; I think it shuts the wifi down.

    So, have tried this:

    Code:
    sudo pmset -a standy 0
    While it's early days, it looks as though it might be the solution. More testing needed.
     

Share This Page