Fix Mac Waking from Sleep Every Hour on OS X Mavericks

consolemac-minimacossleep-wake

Ever since upgrading to Mavericks, it looks like my Mac Mini wakes from sleep about once an hour or so. In the Console, I get the following message:

Oct 30 02:12:06 gary-mac WindowServer[93]: CGXDisplayDidWakeNotification [89885620192550]: posting kCGSDisplayDidWake
Oct 30 02:12:06 gary-mac WindowServer[93]: handle_will_sleep_auth_and_shield_windows: Deferring.

Anyone know why it's doing this?

Usually when the computer wakes from sleep, whether manually or automatically, there is a "Wake Reason" line, but in this case there isn't one. My guess is that this is because since Mavericks, "Sleep" doesn't actually put the Mini to sleep. It seems to be more "on" than it used to be. Is there a way to revert the behavior to how it was before Mavericks?

Best Answer

Turns out it was because I had "File sharing" enabled in my "Sharing" System Preferences pane. I've always had this setting enabled, and I could sleep my Mac just fine before Mavericks. However starting with Mavericks, if I sleep my Mac with "File sharing" enabled, then the Mac won't sleep.