El Capitan/Server 5 preventing Mac from sleeping

Discussion in 'Mac OS X Server, Xserve, and Networking' started by GuilleA, Jan 21, 2016.

  1. GuilleA macrumors newbie

    GuilleA

    Joined:
    Jun 8, 2015
    Location:
    Buenos Aires
    #1
    I know what you're gonna say, why should I want a server computer to go to sleep? Well, this is my home server, I use it primarily as a Time Machine destination, a Cache server for iOS and OS X updates and as an iTunes Home Sharing hub for our Apple TVs. However, the Mac mini running El Capitan 10.11.3 and Server 5.0.15 is not working 24/7, and I'd like it to go to sleep when no ones is home and not doing anything.

    Wake for network access works ok, if I manually sleep the Mac mini it wakes whenever someones requests a file, a movie on iTunes, starts a Time Machine backup, etc. The problem is that it does not automatically sleeps, even though I have the energy settings set to sleep after one hour. Server makes OS X bypass those settings and I can't seem to find a way to override this.

    Does anyone have a solution?
     
  2. chrfr macrumors 603

    Joined:
    Jul 11, 2009
    #2
    I've never heard of a solution for this, but with a Mac Mini, I don't worry about it. The server definitely will not go to sleep when running the Time Machine service and if a client computer is connected via file sharing. A caching request will not wake the server so you'll miss that functionality if the computer is put to sleep and not woken manually.
    Power consumption when the Mini is awake, but idle, is practically nothing, at 6 watts for the 2014 Minis and only up to 13 watts for the 2012 Mini. Older models may draw more power. https://support.apple.com/HT201897
     
  3. satcomer, Jan 21, 2016
    Last edited: Jan 22, 2016

    satcomer macrumors 603

    satcomer

    Joined:
    Feb 19, 2008
    Location:
    The Finger Lakes Region
    #3
    Since you have "Wake for Network Service" on there is a program that autostarts and gets data. You'll have to play detective with the the Console logs. Just make sure you launch it just after a failed sleep issue. This way you could tell what process is preventing auto sleep.
     
  4. GuilleA thread starter macrumors newbie

    GuilleA

    Joined:
    Jun 8, 2015
    Location:
    Buenos Aires
    #4
    Will definitely check that out. Seems a bit involved, but I'm always eager to learn something new.
     

Share This Page