Random wakes from sleep on 2017 iMac

sevenseconds

macrumors member
Original poster
Aug 18, 2013
57
10
My iMac wakes from sleep randomly throughout the night. It's connected to a few external hard drives. Power Nap, wake from sleep, etc. are all turned OFF in Energy Saver.

Here is the readout from Console that repeats itself every five minutes after I manually set my iMac to sleep:


Nov 12 03:26:17 Toby-Mac syslogd[118]: ASL Sender Statistics
Nov 12 03:26:19 Toby-Mac timed[156]: settimeofday({0x5dca96db,0x4075f}) == 0
Nov 12 03:26:22 Toby-Mac xpcproxy[4770]: libcoreservices: _dirhelper_userdir: 557: bootstrap_look_up returned (ipc/send) invalid destination port
Nov 12 03:32:43 Toby-Mac timed[156]: settimeofday({0x5dca985b,0x5be89}) == 0
Nov 12 03:36:15 Toby-Mac com.apple.xpc.launchd[1] (com.apple.bsd.dirhelper[4785]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.bsd.dirhelper


Any idea what is causing this?
 

jeyf

macrumors 65816
Jan 20, 2009
1,266
557
I have an iMac Mojave that is unstable in this area too, never resolved the issue.
you might try to adjust sysPreferences -> securityPrivacy -> Advanced?
there might be a wake on lan setting enabled
close some running applications if any.

best of luck.
 

sevenseconds

macrumors member
Original poster
Aug 18, 2013
57
10
I have an iMac Mojave that is unstable in this area too, never resolved the issue.
you might try to adjust sysPreferences -> securityPrivacy -> Advanced?
there might be a wake on lan setting enabled
close some running applications if any.

best of luck.
I just have Safari and Pages open when it goes to sleep. Wake On Lan is not enabled under Energy Saver. Thanks for the ideas, though. These seem like specific to "date and time" and I feel like there has to be an rational answer!
 

sevenseconds

macrumors member
Original poster
Aug 18, 2013
57
10
Update: More console readouts. This section below repeats itself every five minutes, all while the iMac is supposed to be asleep. So basically eight hours every night where this is happening every five minutes. Can anyone tell what this means?

Dec 1 06:57:36 Toby-Mac syncdefaultsd[7586]: objc[7586]: Class SYDClient is implemented in both /System/Library/PrivateFrameworks/SyncedDefaults.framework/Versions/A/SyncedDefaults and /System/Library/PrivateFrameworks/SyncedDefaults.framework/Support/syncdefaultsd. One of the two will be used. Which one is undefined.

Dec 1 06:57:36 Toby-Mac syncdefaultsd[7586]: objc[7586]: Class SYDJournal is implemented in both /System/Library/PrivateFrameworks/SyncedDefaults.framework/Versions/A/SyncedDefaults and /System/Library/PrivateFrameworks/SyncedDefaults.framework/Support/syncdefaultsd. One of the two will be used. Which one is undefined.

Dec 1 07:04:25 Toby-Mac syslogd[116]: ASL Sender Statistics

Dec 1 07:04:25 Toby-Mac News[7587]: CDN - client insert callback function client = 0 type = 17 function = 0x7fff3379621e local_olny = false

Dec 1 07:04:25 Toby-Mac News[7587]: CDN - client setup_remote_port

Dec 1 07:04:25 Toby-Mac News[7587]: CDN - Bootstrap Port: 1799

Dec 1 07:04:25 Toby-Mac News[7587]: CDN - Remote Port: 63499 (com.apple.CoreDisplay.Notification)

Dec 1 07:04:25 Toby-Mac News[7587]: CDN - client setup_local_port

Dec 1 07:04:25 Toby-Mac News[7587]: CDN - Local Port: 63243

Dec 1 07:11:56 Toby-Mac News[7593]: CDN - client insert callback function client = 0 type = 17 function = 0x7fff3379621e local_olny = false

Dec 1 07:11:56 Toby-Mac News[7593]: CDN - client setup_remote_port

Dec 1 07:11:56 Toby-Mac News[7593]: CDN - Bootstrap Port: 1799

Dec 1 07:11:56 Toby-Mac News[7593]: CDN - Remote Port: 113195 (com.apple.CoreDisplay.Notification)

Dec 1 07:11:56 Toby-Mac News[7593]: CDN - client setup_local_port

Dec 1 07:11:56 Toby-Mac News[7593]: CDN - Local Port: 113703
 

Ruggy

macrumors 6502
Jan 11, 2017
297
169
I had a problem like this- although it wasn't as bad as you've got- and I eventually put it down to the mouse- but I had a wired mouse.
It was on a desk and if there was a small vibration, it moved the mouse just enough to wake the computer up.
No idea if that helps of course but thought I'd share just in case.
(If it's asleep and you move the mouse does it wake it? If not then it can't be that but if you think it might be that, then there should be setting to stop the mouse waking it from sleep- used to be. I don't use a mouse on the macbook).
Good luck
 
Last edited:

sevenseconds

macrumors member
Original poster
Aug 18, 2013
57
10
I had a problem like this- although it wasn't as bad as you've got- and I eventually put it down to the mouse- but I had a wired mouse.
It was on a desk and if there was a small vibration, it moved the mouse just enough to wake the computer up.
No idea if that helps of course but thought I'd share just in case.
(If it's asleep and you move the mouse does it wake it? If not then it can't be that but if you think it might be that, then there should be setting to stop the mouse waking it from sleep- used to be. I don't use a mouse on the macbook).
Good luck
Nah, computer is not set to wake from mouse or keyboard. Power button only. The reason: Cats.
 

jeyf

macrumors 65816
Jan 20, 2009
1,266
557
on a serious note i have power save issues mid 2016 iMac running Mojave.
it rolled around for a while and got it to a point i can ignore it
using the iMac to run home network backups.

if the power save function is important to someone i would say use caution on the purchase, the unit may not fit the application
 

Fishrrman

macrumors P6
Feb 20, 2009
17,614
5,754
Fishrrman's "0% chance of it waking up" solution:
a. Get a power strip with an on/off switch
b. Connect iMac (or Mini) to the power strip, along with your other peripherals
c. At night, POWER DOWN the iMac or Mini, then,
d. Reach down and flip OFF the power strip.
e. In the morning, turn on the power strip and power up the Mac.

Do this, and your Mac will NEVER "wake up in the middle of the night".
100% guaranteed!
 
  • Haha
Reactions: sevenseconds