Apple Event: May 7th at 7 am PT

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

Sleep Wake Failure: Reboots only after upgrading to High Sierra

I have spent the last month dealing with the sleep wake failure ordeal.


When High Sierra was released I took the upgrade like I always do. When my iMac goes to sleep I will be in the other room and can hear my system rebooting. The startup sound plays twice. Then the apple logo appears on the screen with and progress bar (as if something were installing) Once High Sierra starts it displays a message "Your computer was restarted because of a problem. "Sleep Wake Failure"


I have contacted Apple support on several occasions with no luck.

I have unplugged the cord - removed it from the computer for 15 seconds to reset the smc

I have reset the NVRAM

I have backed up my system using time machine and used disk utility on internet recovery to erase my iMac

I have done a fresh install of Mac OS (High Sierra) with Time Machine backup and a separate time without a backup

I have started in safe mode

Mac OS High Sierra 11.0.3

Even after doing all these tasks my iMac still reboots when in sleep mode.


I have had my iMac for several years and this has never happened before. Now it cant stop happening.


Any help would be greatly appreciated.

iMac, iOS 11.0.3

Posted on Oct 27, 2017 9:43 AM

Reply
Question marked as Best reply

Posted on Oct 31, 2017 6:46 AM

Same thing going on here. In my case, I have a MacBook Pro late-2013 15" with Retina. Recently upgraded the SSD to the OWC NVMe Aura Pro X, which is unbelievably fast ... And, everything works beautifully.


EXCEPT when I put the laptop to sleep. At some point during the sleep, something "happens" and then when I go to open the lid to the MBP, it immediately does the startup sound, black screen for about 10 seconds ... Then a second startup sound, black screen for about 10 seconds, then the Apple logo and the bar. After that, everything works perfectly.


Someone had mentioned on another forum that this issue is potentially due to the NVMe drive not being 100% powered up in time for the SMC to find it, and so it then just does a hard reset until the storage device is available.


For me though, I don't get any error message. Nothing in any of the system logs, either. It's as if nothing "bad" even happened. So, it is very baffling. Would imagine Apple knows about this, hopefully they come up with a fix ASAP.

198 replies
Question marked as Best reply

Oct 31, 2017 6:46 AM in response to McBeave

Same thing going on here. In my case, I have a MacBook Pro late-2013 15" with Retina. Recently upgraded the SSD to the OWC NVMe Aura Pro X, which is unbelievably fast ... And, everything works beautifully.


EXCEPT when I put the laptop to sleep. At some point during the sleep, something "happens" and then when I go to open the lid to the MBP, it immediately does the startup sound, black screen for about 10 seconds ... Then a second startup sound, black screen for about 10 seconds, then the Apple logo and the bar. After that, everything works perfectly.


Someone had mentioned on another forum that this issue is potentially due to the NVMe drive not being 100% powered up in time for the SMC to find it, and so it then just does a hard reset until the storage device is available.


For me though, I don't get any error message. Nothing in any of the system logs, either. It's as if nothing "bad" even happened. So, it is very baffling. Would imagine Apple knows about this, hopefully they come up with a fix ASAP.

Nov 16, 2017 2:58 PM in response to Hlohner

Is yours with the stock SSD?


After discussions with OWC and others, it does seem like Apple has seriously mis-calculated their power management capabilities.


We resolved the issue by opening up terminal and running:


sudo pmset standby 0


This disables standby which, in most cases, kicks in at about 3 hours into sleep. This will cut a lot more power to more of the system. And this is why it has issues coming back alive after a long (+3h) sleep. You actually might still have long-boot issues when rebooting or cold booting, but at least you can not have these ridiculous wake issues.


You should be good ... Try it and see.


Apple has yet to acknowledge any of the issues anyone has with their 2012-2015 MacBook and MacBook Pros. I know multiple people that Apple has charged for replacement SSD when it is obviously an engineering flaw.

Nov 17, 2017 1:01 PM in response to Paravis

I appreciate the help. I tried the sudo pmset standby 0 and later that same day my iMac went into sleep mode and after doing so did a reboot.

I have contacted apple support on several occasions but this time I think I might be getting somewhere.

I am dealing with a senior manager that has copies of all of my error reports. He has sent them off to some people that understand these reports much better than I do. It's been about 2 weeks but he did get back to me the other day with a mention of progress. I will keep this group in the loop with all info received.


Hang in there people, hopefully this gets figured out in a timely manner.

Dec 1, 2017 10:59 AM in response to kikearaoz

Hi,

macOS High Sierra is until now the Apple OS that gave me more problems.

To make the downgrade to macOS Sierra is easy if you know what you are doing. What I did was:

- Create a bootable macOS Sierra USB pendrive using the command:

sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ macOS\ Sierra.app (See: https://support.apple.com/en-us/HT201372)


Replace MyVolume with the name of your volume.

- After boot from the USB pendrive with macOS Sierra, using command line I deleted the APFS partition using this two commands:


To see the partitions:

diskutil list


To delete the Apple_APFS partition:

diskutil apfs deleteContainer diskXsY


Please change X and Y to the correct numbers.

After delete the APFS partition format the disk with HFS+ and install macOS Sierra.


Note: I recommend you to wait for the release of the 10.13.2 update. Maybe they will solve this issue!


Regards,

Feb 19, 2018 1:10 AM in response to Tom Robbrecht

Hello Tom,


Could you, please, check if your Power Nap (PN) option in the Energy Saver settings panel has been enabled. In a parallel thread at:


Sleep Wake Failure with High Sierra 10.13.2


there has been a discussion which suggests that with PN enabled the computer, may not go to sleep at all, which may appear as not spontaneous reboots and Sleep Wake Failures (SWF).


I would be more than happy if it turns out that the SWF problem has been resolved for good in your computer, but it might help others to know if there could be any link with the PN setting.


Thank you.

Feb 26, 2018 2:32 AM in response to Latonya Frank

This is a very elaborate hypothesis and I wish it could be correct, as the scourge of Sleep Wake Failure (SWF) is taking its toll on my time and work and I can see I am not alone by far. One unfortunate weakness of the hypothesis seems to be that it represents a single case with El Capitan (as far as I am ware), against the overwhelming majority of experiences, all describing the problem appearing after the High Sierra (HS) update. Without disrespecting the issue you have and the probability (however small) your hypothesis might be correct, it seems to me that it is more likely to be an exception.


There is another discussion thread on this site, perhaps some here are already following it, where another interesting hypothesis was put forward by tingdong from 24th Feb.


Sleep Wake Failure with High Sierra 10.13.2


If anything this could be (to some extend) tested by reducing the amount of load before leaving the computer to eventually go into sleep mode.


Good luck

Apr 29, 2018 4:17 AM in response to janisfromhamburg

Thank you very much, Janis. This is probably the brightest flicker in this long dark and muddy tunnel of the Apple SWF experience. Ever since I started to keep track of the discussions on this thread (and the parallel one at Sleep Wake Failure with High Sierra 10.13.2) I have seen innumerable reports, describing various systems, setups and myriad of settings attempting to identify possible reasons for the darn SWF problem. Looks like individual circumstances could contribute to some extend, but that same variety also suggests that there has to be a common underlying reason. That reason unequivocally points to the HS OS update.


It is also evident that Apple Support staff are not in sync with the problem (with or without internal instructions not to acknowledge it). Some commentators on these discussion fora have suggested that we should not 'complain' here but go and raise the issue directly with apple support. While I agree with the latter and have personally been in contact with apple support, it is a fact that for so many months and so many reported attempts, not a single case has been mentioned, where apple support have been able to help resolving the matter. The discussions, especially here on the 'neatly' moderated apple website, should be taken into consideration and respected as a source of information from genuinely concerned and mostly supportive apple users. To deny their existence and the issues raised is plain irresponsible.


So, for once, there seems to be some hope that the SWF will be banished at last.

May 15, 2018 1:28 AM in response to McBeave

(this is a copy of my post at the parallel thread at Sleep Wake Failure with High Sierra 10.13.2 all references to comments are from there)

It has been a while since my first intention to attempt an assessment of apple’s power management settings (PMS) in relation to the SWF problem. In the meantime, forced by desperation, I went for a Beta update, following Procladius' suggestion that it seemed to do away with the SWF reboots. The good news is that it did make a difference and since I installed the 10.13.5 beta, about a week ago I have not had a single SWF event! The reason I am not calling in with jubilation is that the change is not entirely convincing. Firstly, as mentioned by jabesse, I have not enabled ‘disksleep’, which may have ruined my hopes. However, I experienced the innumerable SWFs while my ‘disksleep’ was off, so the situation with the Beta update is still (if only partially) different.


In short, it appears to me, that the 'computer sleep' mode is no longer the same as before the HS upgrade. I am not a computer expert and have no means of determining whether and to what extend the system goes into what is defined as ‘sleep’. Such definitions are not provided clearly enough for a user to be able to determine their effectiveness.


This post may become somewhat overly extended, but I hope it provides an informative overview of possibly useful PMS options.


For a start, the iMac I use allows three parameters to be set from the ‘System Preference’ -> ‘Energy Saver’ options:

- Computer sleep (from 1min to 3h to Never) - set to 10 min at present

- Display sleep (from 1min to 3h to Never) - set to 5 min at present

- Disk sleep - circumstantially (on/off), currently off.


These are part of a bigger set, available with the Terminal command, pmset -g, as given below:

System-wide power settings:

Currently in use:

standby 0

Sleep On Power Button 1

womp 0

halfdim 1

hibernatefile /var/vm/sleepimage

powernap 0

autorestart 0

networkoversleep 0

disksleep 0

sleep 10 (sleep prevented by sharingd)

autopoweroffdelay 14400

hibernatemode 0

autopoweroff 1

ttyskeepawake 1

displaysleep 5

standbydelay 4200


Although not immediately evident from the parameter names, Computer sleep and Display sleep are recognisable by the 10 and 5 min settings respectively. Leaving aside Display sleep, as unlikely trouble maker, it is interesting to notice that in addition to Computer sleep there are four other similar parameters, namely - standby, disksleep, hibernate and autopoweroff.


The setting of ‘disksleep’ is either ‘off' or ‘on' (when possible). Hypothetically, SWF could have been caused by demand on the disk, while it attempts to go to sleep, but this setting has been ‘off’ almost all of the time on my computer, while SWF has been occurring daily over the past four months.


Similarly, ‘autopoweroff' also seems to be unlikely culprit, as it powers down the computer after the 4 hours, set with the ‘autopoweroffdelay’, which in my case has been happening without signs of malfunction.


It then appears that the remaining three parameters, (computer/system) sleep, standby and hibernate may be somehow involved in SWF, given their interdependence, according to definitions. Starting with ‘standby’:

standby causes kernel power management to automatically hibernate a

machine after it has slept for a specified time period. This saves power

while asleep.


Apparently ‘standby’ effects hibernation after the machine has slept for a specified period of time. At the same time

standbydelay specifies the delay, in seconds, before writing the

hibernation image to disk and powering off memory for Standby.


On one hand standby should activate hibernation after the computer has slept according to the ‘sleep’ timer (set by the user), on the other, the activation should not happen before the time determined with ‘standbydelay’ (set by default to 1h10min on my iMac). On the face of it, the above should not be a problem as ‘standby’ is set to 0 (off) by default and does not seem accessible via the ‘Energy Saver’ controls. The twist, however, seems to be in the definition of hibernation.


hibernatemode supports values of 0, 3, or 25. Whether or not

a hibernation image gets written is also dependent on the values of

standby and autopoweroff


For example, on desktops that support standby a hibernation image will be

written after the specified standbydelay time. To disable hibernation

images completely, ensure hibernatemode standby and autopoweroff are all

set to 0.


In my case, which I suppose is not uncommon, standby and hibernate happen to be set to 0 (off presumably), the autopoweroff, however, is set to 1 (on) and it does come into effect every day for my computer (typically overnight or when I'm away for hours). Since not all three are set 0, it seems, according to the definition, that hibernate is not disabled completely. Even though hibernate is set 0 it obviously happens when autopoweroff is effected!


Conceivably, under certain combinations of sleep conditions hibernation is attempted, while it is not provisioned for and perhaps unrecognised apple system panics lead to those darn SWF events.


To wrap up, after upgrading to 10.13.5 beta my iMac has not experienced SWF, but it seems that computer sleep never takes effect, until time comes for autopoweroff, which appears to be trouble free. People have reported in the past that, when system sleep is set to ‘never’, SWF in some cases does not happen, but this obviously is only masking the problem, not a solution.

Still Waiting for a convincing completion of this dreadful episode of macOS High Sierra update.

Aug 1, 2018 12:38 AM in response to theuser869

Responding to theuser869: since my last detailed post on this thread around mid June, I have commented mainly at the parallel discussion on Sleep Wake Failure with High Sierra 10.13.2 I used to copy my comments over to both, but may have lost the consistency due to personal distractions.


Some recent developments in brief: after my initial enthusiasm about update 10.13.5 possibly solving the SWF problem, I had more than a month of crash-free respite, which almost allayed my suspicions about the solution. The reasons for my incomplete confidence (I think I mentioned those already) were the unusual sleep states my imac appeared to go to, which occasionally were somehow prevented for various reasons. In short, it looked as if the solution for the SWF had been to prevent the computer from sleeping, which is obvously not a userfriendly solution at all.


While I was waiting for anyone else to share their impressions from those developments, to my total surprise and utter chagrin my computer SWF-crashed again! several times! Then a fellow sufferer from the other thread pointed out that the 10.13.6 update has come out and I moved on, just like many other people appear to have done. Only a few days since then. No symptoms of misbehaviour so far. I can only hope.

Nov 18, 2017 7:01 AM in response to Paravis

Same problem here with an iMac 21.5'', Late 2012 with macOS High Sierra 10.13.1 installed on an SSD OWC Mercury Extreme Pro 6G of 1 TB. I solve this issue making the downgrade to macOS Sierra 10.12.6. Now everything is OK. I don't know if it a macOS High Sierra 10.13.1 problem or a compatibility issue between APFS and OWC firmware!

Sleep Wake Failure: Reboots only after upgrading to High Sierra

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