Skip navigation

macbook pro slow shutdown 10.8.2

78225 Views 167 Replies Latest reply: Aug 19, 2013 2:23 PM by OlliHappyOnMac RSS
  • pjbmil Calculating status...
    Currently Being Moderated
    Oct 13, 2012 10:58 AM (in response to thomasfromkoetzingue)

    it seems to be the same  symptom (slow shutdown) but with different causes (and solutions).

    In my case the problem was generated by appleeventsd (Exit timeout elapsed 20 sec.)

     

    My workaround is:

    as root edit /System/Library/LaunchDaemons/com.apple.coreservices.appleevents.plist

     

    add two lines at the end (before </dict>)

     

    before:

       </array>

    <key>RunAtLoad</key>

    <true/>

    <key>UserName</key>

    <string>_eppc</string>

          

    </dict>

    </plist>

     

    after:

       </array>

    <key>RunAtLoad</key>

    <true/>

    <key>UserName</key>

    <string>_eppc</string>

            <key>ExitTimeOut</key>

    <integer>1</integer>

     

    </dict>

    </plist>

     

    do not use 0, zero is interpreted as infinity

    Save and reboot.

     

    It’s  just  a workaround but now my shutdown is fine

  • Scott Newman Level 2 Level 2 (190 points)
    Currently Being Moderated
    Oct 13, 2012 5:44 PM (in response to suntz)

    I've contributed to several items in this thread and I've tried every fix mentioned above.  I tried the most recent one from pjbmil and wasn't expecting it to work because none of the other ones did on a permanent basis.  But so far it works GREAT!!  Thanks so much.  I tend not to edit anything inside the System folder; however, this appears to be harmless and, IT WORKS for me.

  • firesidefromellenville Calculating status...
    Currently Being Moderated
    Oct 13, 2012 11:03 PM (in response to Scott Newman)

    I think I would refute that harmless remark Scott.....lol  I swear I did exactly what pjbmil said to do, and it did shut down very quickly.  However when I restarted my computer I found I couldn't get get Finder to work from the dock, and I couldn't get into Trash to get out the old system file.  I couldn't really see how to fix this at all, I did try and take that file off my iMac and got it onto my MacBookPro but after a reboot I still couldn't get Finder to work from the dock.  I saved my ML installation file so it didn't take too long to reinstall a copy over the current one, then about the same time again to up update to 10.8.2 again.  I am glad that the fix worked for those who it did work for, and am not blaming anyone, we are all adults here and it was probably my mistake in the first place. 

  • bogdanfromploiesti Calculating status...
    Currently Being Moderated
    Oct 14, 2012 12:20 AM (in response to firesidefromellenville)

    I tried to change the file "appleevents.plist" but no way. This fie is locked to any changes into "LaunchDaemons" folder. help please thanks

  • firesidefromellenville Level 1 Level 1 (5 points)
    Currently Being Moderated
    Oct 14, 2012 2:44 AM (in response to bogdanfromploiesti)

    I wouldn't put any credence in anything from me about the modification of that file.  It opened up OK in TextEdit and after I put those two lines in it I was told I would have to save it as a copy, which I did.  I then changed the extension to .plist and then deleted the original file and put in the new one.  Obviously this ISN"T the way to go.  However...... after my reinstallation of the OS, wasn't even a clean install, my shut down time is back to normal again, at least in the 3 reboots I have done so far.

  • Scott Newman Level 2 Level 2 (190 points)
    Currently Being Moderated
    Oct 14, 2012 6:51 AM (in response to suntz)

    The file in question is a system file with related permissions.  Once you put a copy of that file on your desktop, it no longer has the correct permissions.  It then has permissions the same as all of your user files.  If you make the changes to the copy and replace the original file with your new file (inside System/Library/LaunchDaemons), it will still have the incorrect permissions.  At that point you need to repair permissions using Disk Utility.  When you look at the repairs made by Disk Utility you will that file's permissions have been repaired.

     

    I've got a zipped copy of the original file in case I need to go back.  I also keep multiple bootable backups.

     

    I'm not saying that anyone should do this.  In fact, you probably shouldn't.  It worked for me so I'm making the same change on my second Mac.  YMMV.

  • Scott Newman Level 2 Level 2 (190 points)
    Currently Being Moderated
    Oct 14, 2012 6:58 AM (in response to suntz)

    I just made the change on my second Mac and here's the related output from Disk Utility when I repaired permissions:

    ------------------------------

    User differs on “System/Library/LaunchDaemons/com.apple.coreservices.appleevents.plist”; should be 0; user is 501.

    Group differs on “System/Library/LaunchDaemons/com.apple.coreservices.appleevents.plist”; should be 0; group is 501.

    Repaired “System/Library/LaunchDaemons/com.apple.coreservices.appleevents.plist”

    ------------------------------

  • pjbmil Level 1 Level 1 (0 points)
    Currently Being Moderated
    Oct 14, 2012 7:49 AM (in response to Scott Newman)

    Just to clarify:

    Before sharing this solution I tested it for 2 days with two defferent Macs and no problems arose.

    I changed the timeout exit from 20 to 1 sec (time before a SIGKILL signal is sent to appleeventsd).

    You must be ROOT to change com.apple.coreservices.appleevents.plist, I did it opening a teminal session and using VIM as editor.

    Be careful with permission: wrong permissions on that file "FINDER" WILL STOP TO WORK. (as firesidefromellenville reported and tested it by me)

    Use Disk Utility (as Scott suggested) or from terminal as root "chown root:wheel com.apple.coreservices.appleevents.plist"

    If you use from a terminal session Vim or another editor there is no need to change permissions.

    -rw-r--r--  1 root wheel  655 11 Ott 15:37 com.apple.coreservices.appleevents.plist

     

    It is not the solution, it's just a workaround.

  • firesidefromellenville Level 1 Level 1 (5 points)
    Currently Being Moderated
    Oct 14, 2012 10:13 AM (in response to pjbmil)

    Just to prove to myself I still have a pair..... I re-modified that file and then repaired my permissions, rebooted 2 times and fingers cross my shut down is normal again.  It does seem a lot of messing around for 18 seconds, but it does sort of get to you in the end......lol

  • Cool711 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 14, 2012 12:12 AM (in response to suntz)

    Worked for me.

     

    Changed the file using TextWrangler.

     

    Repaired permissions and shutdown times back to normal.

     

    Seems like every update they break a key feature I've come to rely on.

  • 1aut3 Calculating status...
    Currently Being Moderated
    Nov 15, 2012 3:38 AM (in response to pjbmil)

    That did the trick for me too. Thank you so much!

     

    Cheers

  • Ray Demel Calculating status...
    Currently Being Moderated
    Nov 15, 2012 6:29 AM (in response to pjbmil)

    Tried your fix and that fixed part of the issue-it shuts down faster - but - It still seems to hang up while trying to kill apple.launchd

     

    Thanks

  • schnaufifant Calculating status...
    Currently Being Moderated
    Nov 15, 2012 6:51 AM (in response to suntz)

    Doesn´t work for me.
    After some Restarts the System is still "hanging" for 15 Seconds.

  • razmarin Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 15, 2012 7:20 AM (in response to schnaufifant)

    because not only appleeventsd hangin on shutdown.. you can see what is your culprit by opening console after reboot and check shutdown.log

    Снимок экрана 2012-11-15 в 18.17.53.png

  • Don Barron Calculating status...
    Currently Being Moderated
    Nov 15, 2012 5:34 PM (in response to suntz)

    This is a plague.

     

    I've tried a lot of things to work around this, but so far, they've all been temporary fixes.

     

    Note to Apple: cough up some of those billions and actually fix this problem!

     

    It is real, and a "clean install" (which is the typical extent of your "tech support" advice won't fix it.

1 ... 3 4 5 6 7 ... 12 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (6)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.