My Maverics can't sleep!!

Hello.

Everything was working right, but since a week ago my Mac just dont sleep anymore.

The process AddressBookSourceSync just keep preventing my Mac to sleep as you can see bellow.


15/11/13, 23:08:59 WET Showing all currently held IOKit power assertions

Assertion status system-wide:

BackgroundTask 0

PreventDiskIdle 0

ApplePushServiceTask 0

UserIsActive 0

PreventUserIdleDisplaySleep 0

InteractivePushServiceTask 0

PreventSystemSleep 0

ExternalMedia 0

PreventUserIdleSystemSleep 1

NetworkClientActive 0

Listed by owning process:

pid 1048(AddressBookSour): [0x0000000100000162] 00:00:15 PreventUserIdleSystemSleep named: "Address Book Source Sync"

Timeout will fire in 1785 secs Action=TimeoutActionTurnOff

Kernel Assertions: 0x10c=USB,BT-HID,MAGICWAKE

id=501 level=255 0x4=USB mod=15/11/13, 23:14 description=UHC4 owner=AppleUSBUHCI

id=505 level=255 0x100=MAGICWAKE mod=01/01/70, 01:00 description=en0 owner=en0

id=506 level=255 0x8=BT-HID mod=01/01/70, 01:00 description=com.apple.driver.IOBluetoothHIDDriver owner=AppleBluetoothHIDKeyboard


I even removed my icloud and gmail account from my system but the process just keep starting even if i force it to close.

I even tryed to remove the /Users/coolfx/Library/Application Support/AddressBook folder (i read that on forum elsewhere) and it didnt fix the problem.

What the **** is happening?

Can someone help me pleaseeeeee????

Thanks in advance.

CoolFX

Mac Pro, OS X Mavericks (10.9)

Posted on Nov 15, 2013 3:24 PM

Reply
26 replies

Jul 29, 2014 1:35 PM in response to egshea

I turned on icloud sync in contacts and added a contact. Addressbooksync disappeared from the activity monitor for now and pmset shows nothing preventing idle sleep when I am running contacts. But as soon as I shut down contacts, it returns. I don't think I should need contacts to run just to get the iMac to sleep.

Jul 29, 2014 1:37 PM in response to dh250

Hm...you sure you need to leave Contacts running? You probably don't even need a contact in there...I had none. I just had to check on "Contacts" in the iCloud control panel.

Also, the Addressbooksync runs every time my computer wakes from sleep...but after 10 seconds or so it finishes and allows sleep again. Maybe you need to give it a little more time?

Jul 29, 2014 11:29 PM in response to dh250

It seems that I have figured out the cause for my Mac Pro's sleep issue! I have spent the last 2 months trying various things I read on the forum. But none of them worked until I tried the following.


I think the "Spotlight" software is the problem. It tries to index the external HDs and keeps the Mac Pro awake. My external HDs are from OWC and they seem to enter sleep mode quickly. Then Spotlight has problems with the sleeping external HDs, according to the hypothesis. So I excluded the external HDs from the search. My Mac Pro has been able to enter sleep mode reliably for the last 6 days! In the past, I thought I might have found the cause and walkaround. But the problem came back in 2 to 3 days. Hopefully, this really addresses the sleep problems.


What I did was to use System Preference and then pick Spotlight. Then under the "Privacy" tab, add my 2 external HDs on the list so that Spotlight does not use them. It works for me for the last 6 days!! YMMV though....

Oct 7, 2014 8:11 PM in response to dh250

Hello. Thanks to this discussion I was led to "pmset -g assertions" and Address Book Source Sync as the cause of my MacBook failing to sleep. Here is how I fixed it. Open Terminal and run this command:


launchctl unload -w /System/Library/LaunchAgents/com.apple.AddressBook.SourceSync.plist


This command adds a "Disabled" entry in /var/db/launchd.db/com.apple.launchd.peruser.USERID/overrides.plist, where USERID is your user ID. So, I believe you'll have to run this command for all user accounts that are experiencing the problem. I do not use iCloud or syncing of any kind. This change would probably mess those things up if you are using them. To undo, this should work:


launchctl load -w /System/Library/LaunchAgents/com.apple.AddressBook.SourceSync.plist

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

My Maverics can't sleep!!

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