I thought this might be an older OS issue, but saw Evan McM's post, he is running Sierra. So this problem is pervasive across all of OS X version. I am running down the rabbit hole of Excessive Wakeups to see if it is the cause of the Sleep Wake problems I am having
kernel[0]: Restarting to collect Sleep wake debug logs
My Machine(s)
I am running a MBP (Mid-2015) with El Capitan 10.11.6 and Parallels 11. This machine is the only one of my three MBP that has this problem. The others are Mid-2012 and Mid-2014 running Sierra and Yosemite, respectively. All machines run Parallels.
Sleep Wake problem
My problems started about two weeks ago. I normally leave my machine in the office overnight. Now, I come in the mornings and find my machine black screen'd and unresponsive. Even the touchpad is dead. The machine is still ON, as I must push the power button for 5 seconds to get it o turn OFF.
Upon boot, I get the standard error popup noting the machine rebooted. I add a couple notes and send it on to Apple. This is their message content:
Date/Time: 2017-10-04 08:41:06 -0400
OS Version: Mac OS X 10.11.6 (Build 15G1611)
Architecture: x86_64h
Report Version: 22
Event: Sleep Wake Failure
Steps: 1
Hardware model: MacBookPro11,4
Active cpus: 8
[ extra blank lines are removed ]
================================================================
Code: 0x31000000
System Profile:
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x152), Broadcom BCM43xx 1.0 (7.21.95.175.1a6)
Bluetooth: Version 4.4.6f1 17910, 3 services, 18 devices, 1 incoming serial ports
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533642465238412D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533642465238412D50422020
USB Device: USB 3.0 Bus
USB Device: USB Flash Drive
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Bluetooth USB Host Controller
USB Device: Hub
USB Device: SCR33xx v2.0 USB SC Reader
USB Device: Trackball
USB Device: Microsoft Natural Keyboard Pro
Serial ATA Device: APPLE SSD SM0256G, 251 GB
Model: MacBookPro11,4, BootROM MBP114.0172.B16, 4 processors, Intel Core i7, 2.2 GHz, 16 GB, SMC 2.29f24
Network Service: Wi-Fi, AirPort, en0
Graphics: Intel Iris Pro, Intel Iris Pro, Built-In
I have reviewed the System Logs and found that Excessive Wakeups is a recurring theme. I had found some middle of the night things like Chrome update, a couple time. But, am ruling them out as not appearing consistently.
Oct 4 01:33:54 61 kernel[0]: PM response took 2245 ms (813, prl_disp_service)
Oct 4 01:34:54 61 kernel[0]: process SystemUIServer[424] caught causing excessive wakeups. Observed wakeups rate (per sec): 433; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 66901
Oct 4 01:34:54 61 com.apple.xpc.launchd[1] (com.apple.ReportCrash[47317]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Oct 4 01:34:54 61 ReportCrash[47317]: Invoking spindump for pid=424 wakeups_rate=433 duration=104 because of excessive wakeups
Oct 4 01:34:54 61 kernel[0]: process Spotlight[462] caught causing excessive wakeups. Observed wakeups rate (per sec): 214; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 56730
Oct 4 01:34:54 61 ReportCrash[47317]: Invoking spindump for pid=462 wakeups_rate=214 duration=211 because of excessive wakeups
Oct 4 01:34:57 61 kernel[0]: process com.apple.Ambien[297] caught causing excessive wakeups. Observed wakeups rate (per sec): 265; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 47844
Oct 4 01:34:57 61 com.apple.xpc.launchd[1] (com.apple.ReportCrash.Root[47318]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash.DirectoryService
Oct 4 01:34:57 61 ReportCrash[47318]: Invoking spindump for pid=297 wakeups_rate=265 duration=170 because of excessive wakeups
Oct 4 01:38:43 61 UserEventAgent[373]: event was XPC_ERROR_CONNECTION_INVALID
Oct 4 01:38:54 --- last message repeated 1 time ---
Oct 4 01:38:54 61 kernel[0]: Restarting to collect Sleep wake debug logs
Oct 4 08:41:02 localhost bootlog[0]: BOOT_TIME 1507120862 0
The above is an example of three processes that are causing the excessive wakeups. There are many other process doing the same.
The snippet also shows the machine Restarting to collect Sleep wake debug logs. And, the next thing is my boot of the machine. This is where the machine goes Zombie. I am convinced that the logs are never collected.
Where are the "Sleep wake debug logs" ?
The only other 'logs' I have found are the Diagnostic Message that are routinely sent to Apple (I do allow this.)
10/4/17 1:33:29.399 AM powerd[55]:
com.apple.message.domain: com.apple.sleepwake.type
com.apple.message.signature: Normal Sleep
com.apple.message.signature2: Maintenance Sleep
com.apple.message.signature3: Maintenance
com.apple.message.signature4: Maintenance
com.apple.message.result: pass
com.apple.message.summarize: YES
SenderMachUUID:
10/4/17 8:41:05.449 AM powerd[55]:
com.apple.message.domain: com.apple.sleepwake.failure
com.apple.message.signature3: Sleep
com.apple.message.signature: Darkwake Entry Failure
com.apple.message.value: 125
com.apple.message.summarize: NO
SenderMachUUID:
10/4/17 8:41:05.449 AM powerd[55]:
com.apple.message.domain: com.apple.sleep.failure
com.apple.message.signature: Darkwake Entry Failure
com.apple.message.summarize: YES
SenderMachUUID:
10/4/17 8:41:05.449 AM powerd[55]:
com.apple.message.domain: com.apple.sleepwake.type
com.apple.message.signature: Unknown
com.apple.message.signature3: Unknown
com.apple.message.signature4: Unknown
com.apple.message.result: fail
com.apple.message.summarize: YES
SenderMachUUID:
Things I have done
- Reset the SMC (twice)
- Reset the VNRAM (once
- Many reboots
Any other suggestions?
Thanks,
Richard