Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Long shutdown times in OS X Mountain Lion even after 2 clean installs...

Greetings,


I upgraded to OS X Mountain Lion yesterday via clean installation by downloading the OS X 10.8.2 installer from the Mac App Store and restoring it to a USB. So far, everything is working as expected, however I am experiencing higher than expected shutdown times (around the 20 seconds) in Mountain Lion. In Snow Leopard and Lion the average shutdown times that I had where in the range of 2-5 seconds. The reason of why I am reporting the slow shutdown time is that I was part of the OS X Mountain Lion Developer Preview program and at one point I had a partition in my MacBook Pro with the OS X Mountain Lion 10.8 GM Build (12A269) which was made available in the Mac App Store and the shutdown times were short and similar to those in OS X Snow Leopard and OS X Lion. Off course, given that I am very cautious when upgrading since my horrible experience with OS X Lion's release build, I waited up until yesterday to fully migrate to OS X Mountain Lion 10.8.2 since I thought that by the time of the X.X.2 release many of the kinks were being ironed out.


Anyway, I tried to solve the issue is to reinstall OS X Mountain Lion for a second time by cleaning the disk and zeroing it out on Disk Utility. I used a bootable USB installer that I made with the original installer of the app store and that has been used by many users to cleanly update their systems. The reason of why I did a second clean reinstall was to see if there was a particular app that created the issue and decided to run the computer on its factory set up before putting any new apps, before testing the computer I did a reset command so that I would boot into a new computer session and allow the OS to build its caches. The shutdown process in the reboot was slow there. I was expecting that one of my third party apps would be the reason of why my MacBook's shutdown was slow but that wasn't the case because after 30 minutes of use the shutdown time was still long without any third party apps. Due to this revelation, I decided to reboot my computer but use verbose mode because it would give me what processes are running at shutdown. Since, I could not possibly write down all the processes, I used a camera to take a picture of the verbose dialogs during shutdown. Using the same usage methodology in the previous computing session where I kept the computer running for about 30 minutes; the long shutdown was duplicated successfully.


Here are the pictures... I picked the three best pictures for clarity purposes, but they show all the available information on the screen during the complete shutdown process.


User uploaded file


User uploaded file


User uploaded file

If you are having problems viewing this pictures, you can alternatively view them here.


I hope that these pictures are helpful. Now, I made a few observations on the issue, all the mentions of the hanging processes seem to be Apple derived.


Thanks for your time and assistance on this lengthy thread.

MacBook Pro, OS X Mountain Lion (10.8.2), 15"; 4GB RAM; nvidia GT 330m 256

Posted on Oct 2, 2012 6:43 PM

Reply
20 replies

Oct 8, 2012 6:05 PM in response to Carlo TD

Carlo TD wrote:


are you alright?

I am fine, I mean the computer is working OK. The question came in because of the fact that I usually zero out data from the HDD when I reinstall OSX. However, since the process takes about 1hr and 30mins to complete therefore begging the question on whether such process is necessary or not... I wonder if zeroing out the disk is absolutely necessary when reinstalling OS X cleanly.


Thanks for your time!

Mar 27, 2013 8:04 AM in response to mikey110

Okay here's something I did that brought back the shutdown to 4sec 😁


In terminal:


sudo defaults write /System/Library/LaunchDaemons/com.apple.securityd ExitTimeOut -int 2

sudo defaults write /System/Library/LaunchDaemons/com.apple.coreservices.appleevents ExitTimeOut -int 2

sudo defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder ExitTimeOut -int 2

sudo defaults write /System/Library/LaunchDaemons/com.apple.diskarbitrationd ExitTimeOut -int 2

sudo defaults write /System/Library/LaunchAgents/com.apple.coreservices.appleid.authentication ExitTimeOut -int 2


Quit Terminal and then reopen it. Enter the following:


cd ~/Library/Preferences/

rm com.apple.desktop.plist

killall Dock

Long shutdown times in OS X Mountain Lion even after 2 clean installs...

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