Activities with sleep

Karl Bergeron

Registered
Every 30 seconds (when the MacPro 2013 sleep) syslog report this:

2020-09-27 08:50:53.169185-0400 0x73 Default 0x0 0 kernel: (AirPortBrcm4360) ARPT: 1945.482807: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake
2020-09-27 08:50:53.672864-0400 0x4c74 Default 0x0 83 DuetHeuristic-BM: (DuetActivitySchedulerDaemon) [com.apple.duetactivityscheduler.powernap] Suspending tasks due to wake state transition
2020-09-27 08:50:53.674129-0400 0x2fa Default 0x0 75 apsd: (CoreDaemon) <APSTopicFilterPolicyOSX: 0x7ffc1ff0da50>: Choosing red list for topic com.apple.idmsauthagent because not dark wake enabled but not in full wake
2020-09-27 08:50:53.674148-0400 0x2fa Default 0x0 75 apsd: (CoreDaemon) <APSTopicFilterPolicyOSX: 0x7ffc1ff0da50>: Choosing red list for topic com.icloud.askpermission because not dark wake enabled but not in full wake
2020-09-27 08:50:53.674214-0400 0x2fa Default 0x0 75 apsd: (CoreDaemon) <APSTopicFilterPolicyOSX: 0x7ffc1fe241d0>: Choosing red list for topic com.apple.maps.icloud because dark wake enabled but not in power nap wake
2020-09-27 08:50:53.674252-0400 0x2fa Default 0x0 75 apsd: (CoreDaemon) <APSTopicFilterPolicyOSX: 0x7ffc22215010>: Choosing red list for topic com.apple.icloud-container.com.apple.callhistory.sync-helper because not dark wake enabled but not in full wake
2020-09-27 08:50:53.674262-0400 0x2fa Default 0x0 75 apsd: (CoreDaemon) <APSTopicFilterPolicyOSX: 0x7ffc22215010>: Choosing red list for topic com.apple.passd because not dark wake enabled but not in full wake
2020-09-27 08:50:53.674272-0400 0x2fa Default 0x0 75 apsd: (CoreDaemon) <APSTopicFilterPolicyOSX: 0x7ffc22215010>: Choosing red list for topic com.apple.idmsauthagent because not dark wake enabled but not in full wake
2020-09-27 08:50:53.674282-0400 0x2fa Default 0x0 75 apsd: (CoreDaemon) <APSTopicFilterPolicyOSX: 0x7ffc22215010>: Choosing red list for topic com.apple.maspushagent because not dark wake enabled but not in full wake
2020-09-27 08:50:53.674292-0400 0x2fa Default 0x0 75 apsd: (CoreDaemon) <APSTopicFilterPolicyOSX: 0x7ffc22215010>: Choosing red list for topic com.apple.icloud-container.com.apple.keyboardservicesd because not dark wake enabled but not in full wake
2020-09-27 08:50:53.674302-0400 0x2fa Default 0x0 75 apsd: (CoreDaemon) <APSTopicFilterPolicyOSX: 0x7ffc22215010>: Choosing red list for topic com.apple.mobileme.fmf3 because not dark wake enabled but not in full wake
2020-09-27 08:50:53.674312-0400 0x2fa Default 0x0 75 apsd: (CoreDaemon) <APSTopicFilterPolicyOSX: 0x7ffc22215010>: Choosing red list for topic com.apple.icloud-container.com.apple.cloudpaird because not dark wake enabled but not in full wake
2020-09-27 08:50:53.674322-0400 0x2fa Default 0x0 75 apsd: (CoreDaemon) <APSTopicFilterPolicyOSX: 0x7ffc22215010>: Choosing red list for topic com.icloud.askpermission because not dark wake enabled but not in full wake
2020-09-27 08:50:53.674331-0400 0x2fa Default 0x0 75 apsd: (CoreDaemon) <APSTopicFilterPolicyOSX: 0x7ffc22215010>: Choosing red list for topic com.apple.idmsauth because not dark wake enabled but not in full wake
2020-09-27 08:50:53.674363-0400 0x2fa Default 0x0 75 apsd: (CoreDaemon) <APSTopicFilterPolicyOSX: 0x7ffc221140a0>: Choosing red list for topic com.apple.maspushagent because not dark wake enabled but not in full wake

(Repeated after 30-40 seconds)

Everything is disconnected from the computer except the power cord.
Wifi is disable. Auto sleep after 2 seconds.
Sierra 10.12.5.
Similar output from Maverick 10.9.5.
Resetting PRAM and SMC does not change anything.

Any suggestion will be greatly appreciate.
 

DeltaMac

Tech
hmm...
Turn off Power Nap (System Preferences/Energy Saver pref pane. Uncheck "Enable Power Nap"
If that does not help, turn off Wake for Network Access (same Energy Saver pane)
If still no change, try System Preferences/General pane. Uncheck "Allow Handoff between this Mac and your iCloud devices"
I suspect that you may want to restart after each settings change, just to make sure that the change is completely recognized in the system

Is there some valid reason you have not updated to Sierra 10.12.6 ?
 

Karl Bergeron

Registered
Turn off Power Nap (System Preferences/Energy Saver pref pane. Uncheck "Enable Power Nap"
If that does not help, turn off Wake for Network Access (same Energy Saver pane)
If still no change, try System Preferences/General pane. Uncheck "Allow Handoff between this Mac and your iCloud devices"
I suspect that you may want to restart after each settings change, just to make sure that the change is completely recognized in the system
Already done. And do not sign for iCloud.
On my Mac Mini syslogd doesn't write anything when sleeping.
Is it normal that syslogd write something every 30-40 seconds on MacPro 2013 ?
 

DeltaMac

Tech
I suspect that your MacPro is not in a proper sleep mode, but in something like light hibernation.
You should be able to restore your system, and get a more normal sleep mode.
Do you have some software that needs to watch for connections - frequently? Some security software, such as Little Snitch might do that, but I don't know if even Little Snitch would continually write to a log file
If you are not aware of anything that you do that needs that kind of wake mode, you could do a bulk reset of your system energy settings by going into your root level Library folder, then to the Preferences folder. Delete the file "com.apple.PowerManagement.plist"
Then, open another folder there - "SystemConfiguration", delete a file named "com.apple.AutoWake.plist", if it exists.
You may need to enter your password to delete those files.
After removing files, restart your MacPro. That should reset your power settings to system defaults.

Have you updated your Sierra system to latest version 10.12.6?
 

Karl Bergeron

Registered
IDelete the file "com.apple.PowerManagement.plist"
Deleted com.apple.PowerManagement.plist and then all 3 com.apple.PowerManagement.XXXX.plist, and restart.
com.apple.PowerManagement.plist was not rebuild
the mac sleep become worse: a read light appear trought the bottom air grid for 5-10 seconds, the fan spin for 2-3 seconds
this cycle repeat every 2-3 minutes.

Previously: the led light on the power repeat this cycle -> two pulse of one second then solid light for 60 seconds (no fan spin, no bottom red light).

delete a file named "com.apple.AutoWake.plist"
"com.apple.AutoWake.plist", does not exists.

Have you updated your Sierra system to latest version 10.12.6?
Wait to solve the sleep before update.

What does "Update DarkWakeBG Setting" (in com.apple.PowerManagement.plist) ?


Attachment: the new syslogd output and the four com.apple.PowerManagement.XXXX.plist
 

Attachments

Last edited:

DeltaMac

Tech
Next step?
Download and install the Sierra combined updater:
That will update you to 10.12.6, and the combined updater will verify and correct any problems found with the multiple files installed during previous Sierra updates on your Mac. And, that may fix your sleep issues. The combined updater is a good next step, and has been useful for basic Mac troubleshooting almost since Mac OS X began more than 20 years ago.
 

Karl Bergeron

Registered
Next step?
Download and install the Sierra combined updater:
That will update you to 10.12.6, and the combined updater will verify and correct any problems found with the multiple files installed during previous Sierra updates on your Mac. And, that may fix your sleep issues. The combined updater is a good next step, and has been useful for basic Mac troubleshooting almost since Mac OS X began more than 20 years ago.
Updated to 10.12.6. Does not change anything for sleep.
In attachment two log files: the first one is activities for the last minute when mac is sleeping, the other is the last two minutes of the log file holding the word "wake".

I really appreciate your help.
Thank you.
 

Attachments

DeltaMac

Tech
Open your terminal.
Post the result when you run
Code:
pmset -g
Look through this article -
you might find something that is related to your issue
 
Last edited:

Karl Bergeron

Registered
Open your terminal.
Post the result when you run
Code:
pmset -g
Look through this article -
you might find something that is related to your issue

System-wide power settings:
Currently in use:
standby 0
Sleep On Power Button 1
womp 0
autorestart 0
hibernatefile /var/vm/sleepimage
powernap 0
gpuswitch 2
networkoversleep 0
disksleep 0
sleep 0 (sleep prevented by Finder)
autopoweroffdelay 28800
hibernatemode 0
autopoweroff 1
ttyskeepawake 1
displaysleep 180
standbydelay 10800
 

Karl Bergeron

Registered
Thanks. Now, show the result of
Code:
pmset -g assertions
Assertion status system-wide:
BackgroundTask 0
ApplePushServiceTask 0
UserIsActive 1
PreventUserIdleDisplaySleep 0
PreventSystemSleep 0
ExternalMedia 0
PreventUserIdleSystemSleep 0
NetworkClientActive 0
Listed by owning process:
pid 97(hidd): [0x0000000c00098041] 00:28:10 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968840.3"
Timeout will fire in 10800 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
id=508 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.00400000 owner=Keyboard Hub
id=510 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.00600000 owner=IOUSBHostDevice
id=512 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.00500000 owner=USB3.0 Hub
id=514 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.00200000 owner=IOUSBHostDevice
id=516 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.00100000 owner=USB2.0 Hub
id=518 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.00110000 owner=USB2.0 Hub
id=520 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.00130000 owner=USB2.0 Hub
id=522 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.00140000 owner=USB2.0 Hub
id=524 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.00510000 owner=USB3.0 Hub
id=526 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.00530000 owner=USB3.0 Hub
id=528 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.00540000 owner=USB3.0 Hub
id=530 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.00430000 owner=USB Receiver
Idle sleep preventers: IODisplayWrangler
 
Top