Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

elasticmedia

macrumors member
Original poster
Jun 29, 2010
47
16
I have had problems with my various Macs awakening randomly. I had a core2 duo iMac and now I have an i7 iMac, and it seems that I have a pattern. I sleep the computer and it comes on suddenly. Sometimes it goes off, but other times it stays on. I have set up the computer to go to sleep after 25 minutes: both the display and the computer. I have checked "put hard disks to sleep when possible".

I have tons of RAM and am running Mavericks. I run Parallels desktop too. I have a first generation time capsule and a 2Wire DSL modem. The 2Wire has wireless capabilities, but I just have it feeding the time capsule with a single ethernet cable. My wife's macbook Air wirelessly and automatically backs up to the time capsule as well. I have a brother wireless laser printer and an HP wireless inkjet printer. I plug in a Denon audio receiver via ethernet to the time capsule. There is a ROKU box that connects wirelessly to my network. I don't have file sharing turned on, but I do have dvd/cd sharing checked. I don't have any other remote management protocols set up.

After I upgraded my computer to a new (used) iMac, I was dismayed to find the problems persisted. I have been scratching my head and wondering whether it could be the time capsule or the 2Wire that is the problem? I have not tried disabling time machine for either computer to see if that was the issue. I have not unplugged the time capsule and just used the 2Wire modem to trouble shoot.

I know there are certain things that can be queried via Terminal, but I don't know enough to choose what to type in. I sometimes want to tear my hair out when the computer suddenly coms on in the middle of the night, or when I can tell it has been on for hours in the morning, by touching the iMac and feeling it to be very warm.

Jim
 
Can you search for "sleep" in Console and paste the results - that may tell us what's causing it.
 
Here are some lines from console from yesterday. There are a lot of the "sleep for 1 seconds and then try again" generally about 1 per second when that is going on.

1/17/14 11:25:12.000 PM kernel[0]: Previous Sleep Cause: 5
1/17/14 11:25:12.520 PM WindowServer[78]: handle_will_sleep_auth_and_shield_windows: Reordering authw 0x7fac11c5cb50(2004) (lock state: 3)
1/17/14 11:25:12.520 PM WindowServer[78]: handle_will_sleep_auth_and_shield_windows: err 0x0
1/17/14 11:27:50.000 PM kernel[0]: /drv/ MacModule.cpp:281 powerStateWillChangeTo: found flag=kIOPMSleepCapability (4)
1/17/14 11:27:54.000 PM kernel[0]: /drv/ MacModule.cpp:281 powerStateDidChangeTo: found flag=kIOPMSleepCapability (4)
1/17/14 11:27:54.000 PM kernel[0]: RTC: Maintenance 2014/1/18 09:15:46, sleep 2014/1/18 07:27:54
1/18/14 1:15:46.000 AM kernel[0]: Previous Sleep Cause: 5
1/18/14 1:15:47.000 AM kernel[0]: AFP_VFS afpfs_DoReconnect: sleep for 1 seconds and then try again
1/18/14 1:15:48.000 AM kernel[0]: AFP_VFS afpfs_DoReconnect: sleep for 1 seconds and then try again
1/18/14 1:15:49.000 AM kernel[0]: AFP_VFS afpfs_DoReconnect: sleep for 1 seconds and then try again
1/18/14 1:15:50.000 AM kernel[0]: AFP_VFS afpfs_DoReconnect: sleep for 1 seconds and then try again
1/18/14 1:15:51.000 AM kernel[0]: AFP_VFS afpfs_DoReconnect: sleep for 1 seconds and then try again
1/18/14 1:15:52.000 AM kernel[0]: AFP_VFS afpfs_DoReconnect: sleep for 1 seconds and then try again


1/18/14 5:20:14.000 AM kernel[0]: Previous Sleep Cause: 5
1/18/14 5:20:22.091 AM WindowServer[78]: handle_will_sleep_auth_and_shield_windows: Reordering authw 0x7fac1410de20(2000) (lock state: 3)
1/18/14 5:20:22.092 AM WindowServer[78]: handle_will_sleep_auth_and_shield_windows: err 0x0
1/18/14 12:02:33.000 PM kernel[0]: ACPI: sleep states S3 S4 S5
1/18/14 12:06:37.289 PM WindowServer[87]: CGError post_notification(const CGSNotificationType, void *const, const size_t, const bool, const CGSRealTimeDelta, const int, const CGSConnectionID *const, const pid_t): Timed out 1.000 second wait for reply from "com.apple.WebKit.WebContent" for synchronous notification type 102 (kCGSDisplayWillSleep) (CID 0x1277f, PID 457)
1/18/14 12:06:37.289 PM WindowServer[87]: CGError post_notification(const CGSNotificationType, void *const, const size_t, const bool, const CGSRealTimeDelta, const int, const CGSConnectionID *const, const pid_t): Timed out 1.000 second wait for reply from "Google Chrome Helper" for synchronous notification type 102 (kCGSDisplayWillSleep) (CID 0x16f6f, PID 436)
1/18/14 12:06:37.289 PM WindowServer[87]: CGError post_notification(const CGSNotificationType, void *const, const size_t, const bool, const CGSRealTimeDelta, const int, const CGSConnectionID *const, const pid_t): Timed out 1.000 second wait for reply from "Parallels Desktop" for synchronous notification type 102 (kCGSDisplayWillSleep) (CID 0xbbe3, PID 260)
1/18/14 12:06:37.289 PM WindowServer[87]: CGError post_notification(const CGSNotificationType, void *const, const size_t, const bool, const CGSRealTimeDelta, const int, const CGSConnectionID *const, const pid_t): Timed out 1.000 second wait for reply from "Mail" for synchronous notification type 102 (kCGSDisplayWillSleep) (CID 0x11c03, PID 262)
1/18/14 12:06:37.289 PM WindowServer[87]: CGError post_notification(const CGSNotificationType, void *const, const size_t, const bool, const CGSRealTimeDelta, const int, const CGSConnectionID *const, const pid_t): Timed out 1.000 second wait for reply from "loginwindow" for synchronous notification type 102 (kCGSDisplayWillSleep) (CID 0x7407, PID 44)
1/18/14 12:07:19.000 PM kernel[0]: /drv/ MacModule.cpp:281 powerStateWillChangeTo: found flag=kIOPMSleepCapability (4)
1/18/14 12:07:23.000 PM kernel[0]: /drv/ MacModule.cpp:281 powerStateDidChangeTo: found flag=kIOPMSleepCapability (4)
1/18/14 12:07:31.000 PM kernel[0]: Previous Sleep Cause: 5
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.