You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

New rMBP sleep/wake failure crashes

I'm using the new Retina MacBook Pro running Mavericks, and in the short span I've used it I've encountered a problem multiple times where the machine crashes during sleep. (I also tend to leave my WD external hard drive plugged in, if that makes any difference.)


I have two error logs, but since they are quite lengthy I have made them viewable in this Evernote:


https://www.evernote.com/shard/s200/sh/6f691ae9-87ba-415f-8951-609d7aec69f7/7ed5 88cbbb0ef7b5368a6fc1aaf83f36

MacBook Pro with Retina display, OS X Mavericks (10.9)

Posted on Oct 29, 2013 4:55 AM

Reply
317 replies

Dec 12, 2013 3:00 PM in response to jb510

Sleep / Wake Failure SOLUTION WORKAROUND that worked for me:


My System: Maverics OS X 10.9, Mid 2012 Retina MacBook 16GBmem, 768BGssd, 2.6Ghz


Symptom: At the end of the day I close the lid, then the next morning I open it up, then I see the Sleep / Wake failure error message... including the fact that my system was forcably rebooted.


SOLUTION WORKAROUND that worked for me:


What worked for me, assuming you feel comfortable using the system Terminal window to issue commands, was to do the following:

- Goto Applicaitons > Utilities > Terminal

- Type "sudo pmset -a hibernatemode 25"

- Enter your password when prompted

- Then Type "pmset -g" to confirm that "hibernatemode 25" appears correctly


Why this worked for me - Highlights of my research:

After digging into posts related to this one about sleep/wake issues, I discovered that using a Terminal command "sudo pmset -a hibernatemode [##]" enables you to configure what happens when your system transitions from simple "Sleep" mode into "Standby" hibernate mode. Standby happens, by default, after either ~1hr or ~3hrs depending on the vintage of your rMBP (e.g. On most newer 2013 rMBPs this happens after ~3hrs. On earlier rMBPs the default is ~1hr or 70min (i.e. 4200 seconds).


The default hibernatemode for rMBPs is "hibernatemode 3" which some people call "Smart Sleep" which writes RAM to SSD and leaves RAM powered for quicker waking.


Setting hibernatemode to 25 configures the MacBook to use the older style of Standby Hibernation (writing RAM to SSD and then powering down RAM) which seems to solve the Mavericks specific problem with "Sleep / Wake failures", at least it solved the problem for me.


I have not had a Sleep / Wake failure after closing the lid on my Retina MacBook overnight for several days now.


My educated guess is that this "Sleep / Wake Failure" bug with Mavericks happens at the time a MacBook transitions from Sleep to Standby/hibernate. Note: The pmset parameter called "standbydelay" is measured in seconds and was by default 4200 on my mid2012 rMBP. It is about 3hrs on newer Retina MacBooks. That would explain why this Sleep / Wake failure and reboot, as some people have described "... in the middle of the night..." happens after the lid on a MacBook has been closed for "a while".


I do not, btw, have any USB devices attached to my MacBook while the lid is closed. However, I would not be surprised if this workaround solves the problem for people on this thread/discussion that have been sharing those problem scenarios.


I am simply sharing what worked for me, where my Mavericks MacBook was experiencing a Sleep / Wake failure after the lid was closed for a while (e.g. overnight).


The standbydelay and hibernatemode, as well as other things related to power, sleep, standby, hibernation etc. are configurable using the "pmet" command, assuming you feel comfortable using the system Terminal window. You can read more about Sleep/Standby/Hibernate behavior for Retina MacBook Pros (rMBPs) here:


http://support.apple.com/kb/HT4392


You can read more about the "pmset..." command here:


https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/ man1/pmset.1.html


I hope this helps the community.

Dec 16, 2013 1:15 PM in response to BillHahn

This is definitely an OS bug. I have the last pre-retina MBP 15" and I just upgraded to Mavericks last night.


While connected to power my computer is set to never sleep and I have no problems.


When disconnected (with absolutely nothing plugged in), if I close the lid and let it sit for some time then it will wake up from sleep and immediately reboot.

Dec 16, 2013 4:44 PM in response to keithpgdrb

Not sure if just turning off power nap does it. Have not tried that yet. What I have done is to unmount usb drives and then disconnect the usb plug to the drives.


Since the new MBPs have combined computer sleep and monitor sleep into the same setting, I assume power nap means that when your computer is asleep, it can still do Time Machine backups, and get new email and messages while still being asleep.


For me, the auto restart happens approximately once a week so it's hard for me to tell if the problem is fixed. I don't close the lid on my laptop; instead, I put it to sleep with keyboard command.

New rMBP sleep/wake failure crashes

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.