CD$

Q: Mavericks takes  2 min 18 sec  to go to sleep?????

My MacBook Pro 13'' Early 2011 after upgrading to Mavericks takes 2:18 min to go to SLEEP!!!!......any Idea?

MacBook Pro, OS X Mavericks (10.9)

Posted on Nov 15, 2013 5:30 AM

Close

Q: Mavericks takes  2 min 18 sec  to go to sleep?????

  • All replies
  • Helpful answers

first Previous Page 3 of 6 last Next
  • by John Galt,Helpful

    John Galt John Galt Nov 16, 2013 1:10 PM in response to CD$
    Level 9 (50,142 points)
    Mac OS X
    Nov 16, 2013 1:10 PM in response to CD$

    Thanks. Did you reset the MBP's SMC yet? The procedure is justified for any problem related to system sleep or power: SMC reset.

     

    Follow all the steps exactly as written.

     

    If that does not result in immediate resolution, the reason your MBP is taking so long to shut down or sleep will be due to one or more of the running processes that modify OS X. You already eliminated some possibilities by deleting the Startup Items, so the reason is likely to be one of the remaining system modifications. My earlier caution about the presence of uTorrent still applies, since it's possible for malicious software obtained from a torrent host to have modified OS X in a manner that will be difficult to find.

     

    In all likelihood one or more of the many Launch Daemons or Launch Agents or other system modification is the culprit, and if you are interested in isolating the cause, consider the following:



     

    Note the time in your Mac's menu bar or some other accurate timepiece. Then, press the button to put the Mac to sleep. Wait until the cursor disappears and for all indications that the Mac appears to be asleep.

     

    Then, wake the Mac the way you normally wake it.

     

    Then, find the Console app - it is in your Utilities folder and looks like this

     

    Screen Shot 2013-10-15 at 1.28.39 AM.png

     

    You can find it by selecting Utilities from the Finder's Go menu.

     

    Open Console.

     

    If the log list column on the left is not already displayed, show the log list by selecting Show Log List from Console's View menu.

     

    Locate system.log in the list and select it. Many date and time-stamped entries will appear, hundreds of them, and you must find the entries relevant to your Mac's sleep problem. To do that type the words sleep cause in the Filter field at the upper right of the Console window:

     

    Screen Shot 2013-10-15 at 1.04.20 AM.png

     

    That will cause all log entries to be hidden, except for the entries containing those words. The last entry in the list will correspond to the last time you woke the Mac. It will have a time stamp in the form hh:mm:ss later than the time you noted in the Mac's menu bar prior to putting it to sleep.

     

    Make note of that exact time in hours, minutes, and seconds.

     

    Next: Clear the filter field by clicking the x in the above screenshot. It should then look like this:

     

    Screen Shot 2013-10-15 at 1.04.42 AM.png

     

    All previously displayed log entries will reappear.

     

    Next: Find the log entry that corresponds exactly to the time you noted in hours, minutes, and seconds containing the words "previous sleep cause". You may have to scroll up or down a considerable distance. When you find that line, select it and drag your cursor up and prior to the entry corresponding to the approximate time you noted before putting the Mac to sleep. This will result in a selection of perhaps 50 to 100 lines or so.

     

    One or more of them, along with their time stamps, may reveal the reason for the excessive delay.

     

    Copy and paste those log entries in a reply.

     

    Most of the entries will be cryptic but will contain information you might consider personal such as your Mac's name. If you do not want that information to appear, delete or obscure it when posting your reply. Leave enough information so that the entries can be deciphered.

  • by CD$,

    CD$ CD$ Nov 16, 2013 1:09 PM in response to Drew Reece
    Level 1 (0 points)
    Nov 16, 2013 1:09 PM in response to Drew Reece

    Now what?

    Screen Shot 2013-11-17 at 2.38.20 am.png

  • by Drew Reece,

    Drew Reece Drew Reece Nov 16, 2013 1:17 PM in response to CD$
    Level 5 (7,746 points)
    Notebooks
    Nov 16, 2013 1:17 PM in response to CD$

    try

    sudo launchctl unload /Library/LaunchAgents/org.macosforge.xquartz.startx.plist

    If that as an error move onto the next command.

  • by CD$,

    CD$ CD$ Nov 16, 2013 1:23 PM in response to Drew Reece
    Level 1 (0 points)
    Nov 16, 2013 1:23 PM in response to Drew Reece

    Moving on to the next command....SHOULD I?

    Screen Shot 2013-11-17 at 2.52.32 am.png

  • by Drew Reece,

    Drew Reece Drew Reece Nov 16, 2013 1:25 PM in response to CD$
    Level 5 (7,746 points)
    Notebooks
    Nov 16, 2013 1:25 PM in response to CD$

    Yes please continue.

  • by CD$,

    CD$ CD$ Nov 16, 2013 1:32 PM in response to Drew Reece
    Level 1 (0 points)
    Nov 16, 2013 1:32 PM in response to Drew Reece

    now next one.....?

    Screen Shot 2013-11-17 at 3.01.31 am.png

  • by Drew Reece,

    Drew Reece Drew Reece Nov 16, 2013 1:36 PM in response to CD$
    Level 5 (7,746 points)
    Notebooks
    Nov 16, 2013 1:36 PM in response to CD$

    yep

  • by CD$,

    CD$ CD$ Nov 16, 2013 1:41 PM in response to Drew Reece
    Level 1 (0 points)
    Nov 16, 2013 1:41 PM in response to Drew Reece

    i've entered the last two steps......

    but i think the last one didn't worked.

     

    Screen Shot 2013-11-17 at 3.09.34 am.png

  • by Drew Reece,

    Drew Reece Drew Reece Nov 16, 2013 1:42 PM in response to CD$
    Level 5 (7,746 points)
    Notebooks
    Nov 16, 2013 1:42 PM in response to CD$

    That's fine, but havent you skipped a line?

     

    The one that looks like…

    sudo rm -rf /opt/X11* /Library/Launch*/org.macosforge.xquartz.* /Applications/Utilities/XQuartz.app /etc/*paths.d/*XQuartz 
  • by CD$,

    CD$ CD$ Nov 16, 2013 1:45 PM in response to Drew Reece
    Level 1 (0 points)
    Nov 16, 2013 1:45 PM in response to Drew Reece

    no !!! read the second line in the pic

  • by Drew Reece,

    Drew Reece Drew Reece Nov 16, 2013 1:47 PM in response to CD$
    Level 5 (7,746 points)
    Notebooks
    Nov 16, 2013 1:47 PM in response to CD$

    lol just checking

     

    Just reboot now. See how the system sleeps.

     

    If it is still taking a long time try John Galt's suggestions above.

  • by CD$,

    CD$ CD$ Nov 16, 2013 1:54 PM in response to John Galt
    Level 1 (0 points)
    Nov 16, 2013 1:54 PM in response to John Galt

    sorry for replying late!!!!!!!apologies!!!!!

     

    IS THIS WHAT YOU WANT?????

    I made my mac sleep at 03:15:50

     

     

     

     

    Nov 17 03:15:41 --- last message repeated 1 time ---

    Nov 17 03:15:41 cds-macbook-pro.local ntpd[5388]: proto: precision = 1.000 usec

    Nov 17 03:15:50 cds-macbook-pro.local WindowServer[91]: _CGXSetWindowBackgroundBlurRadius: Invalid window 0xffffffff

    Nov 17 03:15:50 cds-macbook-pro.local loginwindow[38]: find_shared_window: WID -1

    Nov 17 03:15:50 cds-macbook-pro.local loginwindow[38]: CGSGetWindowTags: Invalid window 0xffffffff

    Nov 17 03:15:50 cds-macbook-pro.local loginwindow[38]: find_shared_window: WID -1

    Nov 17 03:15:50 cds-macbook-pro.local loginwindow[38]: CGSSetWindowTags: Invalid window 0xffffffff

    Nov 17 03:15:50 cds-macbook-pro.local WindowServer[91]: device_generate_desktop_screenshot: authw 0x7fbec3edc990(2000), shield 0x7fbec892dcb0(2001)

    Nov 17 03:15:50 cds-macbook-pro.local WindowServer[91]: device_generate_lock_screen_screenshot: authw 0x7fbec3edc990(2000), shield 0x7fbec892dcb0(2001)

    Nov 17 03:15:57 cds-macbook-pro kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=5395[GoogleSoftwareUp] final status 0x0, allow (remove VALID)ing page

    Nov 17 03:16:09 cds-macbook-pro.local WindowServer[91]: _CGXHWCaptureWindowList: No capable active display found.

    Nov 17 03:16:10 cds-macbook-pro.local loginwindow[38]: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.

    Nov 17 03:16:13 cds-macbook-pro kernel[0]: AirPort_Brcm43xx::powerChange: System Sleep

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: hibernate image path: /var/vm/sleepimage

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: efi pagecount 43

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: hibernate_page_list_setall(preflight 1) start 0xffffff8096370000, 0xffffff8096390000

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: hibernate_page_list_setall time: 141 ms

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: pages 1015572, wire 232626, act 279230, inact 23763, cleaned 0 spec 110, zf 61982, throt 0, compr 139075, xpmapped 306371

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: could discard act 33076 inact 228701 purgeable 12106 spec 4895 cleaned 8

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: hibernate_page_list_setall preflight pageCount 736786 est comp 49 setfile 1563852420 min 2147483648

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x10de1a000, 0x19000000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x1cb981b000, 0x12000000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x1c958b3000, 0xf615000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x126e1a000, 0x59eb000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x1a96988000, 0x4864000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x181b15a000, 0x4693000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x1a5f6c3000, 0x2109000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x1808474000, 0x44e1000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x1a3bd37000, 0x42c9000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x66c809000, 0x420c000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x1a8f30a000, 0x4126000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x19e5da7000, 0x4003000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x642a6e000, 0x4001000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x1a12dc5000, 0x520000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x1d5b366000, 0x3fd2000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x1883531000, 0x3fb1000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x1a9f48e000, 0x3f7a000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x1c85c73000, 0x3c69000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x1825b08000, 0x3b18000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x1a132e5000, 0x3aba000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x1b8b358000, 0x1ec8000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x1ba5b95000, 0x3000000]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: [0x0, 0x0]

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: kern_open_file_for_direct_io(0) took 27 ms

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: Opened file /var/vm/sleepimage, size 2147483648, partition base 0x0, maxio 2000000 ssd 0

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: hibernate image major 1, minor 0, blocksize 4096, pollers 5

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: hibernate_alloc_pages act 322987, inact 315793, anon 73329, throt 0, spec 5006, wire 254182, wireinit 227598

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: hibernate_setup(0) took 0 ms

    Nov 17 03:16:16 cds-macbook-pro kernel[0]: AppleBCM5701Ethernet [en0]: reusing link (womp enabled, proxy 1095)

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: hibernate_page_list_setall(preflight 0) start 0xffffff8096370000, 0xffffff8096390000

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: hibernate_page_list_setall time: 173 ms

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: pages 1015354, wire 232367, act 279291, inact 23763, cleaned 0 spec 111, zf 61960, throt 0, compr 139075, xpmapped 339671

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: could discard act 33076 inact 228701 purgeable 12106 spec 4896 cleaned 8

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: hibernate_page_list_setall found pageCount 736567

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: IOHibernatePollerOpen, ml_get_interrupts_enabled 0

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: IOHibernatePollerOpen(0)

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: encryptStart 14150

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: bitmap_size 0x1f5a4, previewSize 0x5b5da0, writing 734822 pages @ 0x5e9494

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: encryptEnd eaf0800

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: image1Size 0x14229000, encryptStart1 0x14150, End1 0xeaf0800

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: encryptStart 14229000

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: encryptEnd 5a71ac00

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: PMStats: Hibernate write took 21858 ms

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: all time: 21858 ms, comp bytes: 3010199552 time: 2969 ms 966 Mb/s, crypt bytes: 1425859248 time: 2714 ms 500 Mb/s,

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: image 1517400064 (70%), uncompressed 3010199552 (734912), compressed 1506001328 (50%), sum1 4f3cbc49, sum2 73d34f3e

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: zeroPageCount 56133, wiredPagesEncrypted 172585, wiredPagesClear 58127, dirtyPagesEncrypted 504200

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: hibernate_write_image done(0)

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: sleep

    Nov 17 03:16:40 cds-macbook-pro kernel[0]: Wake reason: EC.PowerButton PWRB (User)

    Nov 17 03:16:44 cds-macbook-pro kernel[0]: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake

    Nov 17 03:16:44 cds-macbook-pro kernel[0]: AirPort_Brcm43xx::checkInterfacePowerState: Check _pwrOffThreadCall!

    Nov 17 03:16:44 cds-macbook-pro kernel[0]: Previous Sleep Cause: 5

    Nov 17 03:16:44 cds-macbook-pro kernel[0]: TBT W (1): 0 [x]

  • by Drew Reece,

    Drew Reece Drew Reece Nov 16, 2013 2:00 PM in response to CD$
    Level 5 (7,746 points)
    Notebooks
    Nov 16, 2013 2:00 PM in response to CD$

    John is this just setup for hibernation!?

    Will restoring the energy saver prefs to default fix it?

  • by CD$,

    CD$ CD$ Nov 16, 2013 2:04 PM in response to John Galt
    Level 1 (0 points)
    Nov 16, 2013 2:04 PM in response to John Galt

    John Galt ...sorry

    i won't dare to open my mac and remove battery to reset SMC...i will do any thing other than physically operating the mac

  • by CD$,

    CD$ CD$ Nov 16, 2013 2:08 PM in response to Drew Reece
    Level 1 (0 points)
    Nov 16, 2013 2:08 PM in response to Drew Reece

    energy saver preferences

     

    Screen Shot 2013-11-17 at 3.37.36 am.png

first Previous Page 3 of 6 last Next