Increase in shutdown time.

LoganCircle

macrumors member
Original poster
Feb 18, 2010
54
0
Washington, DC
On my recently purchased macbook pro, the shutdown time had been about 4 or 5 seconds.

Earlier this week, I plugged in a Sprint Smartview aircard to use for work. The card installed software to get it working. Since that moment, my MBP takes about 20-30 seconds to shut down.

I have since uninstalled the software, hoping that it'd return to the 4-5 second shutdown. Alas, it has not.


I've tried running ONYX and using the Disk Utility to repair permissions.

Any advice on where to look or what to do to clean this up and get it back to the 4-5 second shutdown? I'm new to the mac world, please help.
 

JimAtLaw

macrumors 6502
Sep 26, 2006
275
12
Bay Area, CA
I've noticed that mine goes to sleep instantly when by itself, but takes several seconds if I have the 24" ACD plugged in. Perhaps the software is trying to shut down the card - is the card plugged in at the time? Have you tried it both ways?
 

diablo2112

macrumors 6502
Apr 16, 2010
350
7
I've just this week had the exact same issue on my 15" i7 w/Intel SSD. In addition to an increase in the shutdown time to about 40 seconds (from 3), it also refused to boot. I had to hold the option key to get the drive to even be recognized.

I ran disk utility, fixed the permissions, and this cleared up the boot problem but one time in about 5, it stil hangs on shutdown, taking 40 sec or so instead of 3.

Would love to know a more permanent solution to this of if others have had it.
 

flat five

macrumors 603
Feb 6, 2007
5,577
2,654
newyorkcity
it might be an app you have open.
there are times when i have a shoddy internet connection and mail.app will hang when trying to close it.. that same hang affects shut down as well and will occasionally prevent it from happening at all.
try closing all your apps first then see if the delay still happens.
 

LoganCircle

macrumors member
Original poster
Feb 18, 2010
54
0
Washington, DC
Fixed. I found this:

Re: 10.6.1 Slow Startup and Shutdown
Posted: Sep 20, 2009 1:35 PM in response to: Barry Hemphill

I had the same problems, and I figured out the cause. It seems that somehow the ownership of my root directory (/) wasn't assigned to the root account anymore, but to myself instead. This made the kernel prelinking fail since it requires that root is the owner. This is how you solve this after launching the Terminal app:

terminal commands
sudo chown root:admin /
sudo kextcache -system-prelinked-kernel
sudo kextcache -system-caches

You'll have to enter your password after the first command.

Hope this helps someone, since it was really frustrating to have these slower startup/shutdown times for me.
Back down to 4-5 seconds.
 

JimAtLaw

macrumors 6502
Sep 26, 2006
275
12
Bay Area, CA
So how would that happen? Wouldn't the installer for your card have to have changed the properties of the root directory expressly? Seems like a very odd behavior, I can't imagine why any app would need to do this...
 

WisdomWolf

macrumors regular
Apr 15, 2010
161
0
This thread has been most helpful. I love my mac, but I thought something was horribly wrong when I tried to shut it down last night and it kept going for over 5 minutes before I had to just force it to shutdown. Fixed the permissions as suggested and it now shuts down in 5 seconds flat. Thank you! :D
 

warrmr

macrumors regular
Jul 7, 2010
102
0
After opening and typing the first command
I cannot enter my password
my keyboard wont type in anything except for the ENTER button
do you guys have any tips?
Its supposed to do that. It is just a *nix thing that happens. Just cary on typing your password press enter and it should continue. if you misstype it just press enter and it will give you 2 more chances.
 

mekump

macrumors newbie
Jun 25, 2010
27
10
great thread.

i noticed some time ago my laptops became slow to shut down. noticed the following mesg in the system.log when i would shut the laptops down.

com.apple.kextd[10]: Can't create kext cache under / - owner not root.

made my root directory identical to my root directory on my imac by issuing the following commands .......

cd /
sudo chmod 1775 .
sudo chown root:admin .

didn't issue the kextcache commands because i really don't understand what they do. i powered off my laptop and it was a big difference. powered off in a few seconds the way it used to.
when i powered the laptop back up i checked the system logs for any references to kextcache and didn't see any. so, for now i don't plan to issue the kextcache commands.

i wonder if one of the apple s/w updates changed the root directory.

mike
 

RKpro

macrumors 6502
Oct 27, 2008
467
1
I know this is an old thread, but wow! Thanks LoganCircle.

I had an intel x-25m ssd for the past 8 months, and it would take about 2 seconds to shutdown while the osx install was fresh, but over the next few weeks it would always slow down to like 10 seconds or more. It was still brazing fast at opening apps and in benchmarks, but start up and shutdown really became slow.

Now thanks to this thread it takes 2 seconds to shutdown, and I think it shaved 10 seconds from my startup time as well.
 

glavoie84

macrumors regular
Jun 23, 2009
101
0
Slowdown on boot and shutdown happened to me since the 10.6.5 update. Boot time went from 15 secs to 30-35 secs with my X25-M. I also found that my / directory wasn't owned by root anymore. Issuing the "chown" command solved the problem for me too!
 

RKpro

macrumors 6502
Oct 27, 2008
467
1
It happened to me again since my post last week, somehow the ownership of the root directory changed, and my shutdown/boot times increased dramatically. It was a quick fix thanks to those three terminal commands, but I just find it really strange.

I was a bit paranoid, and scanned my entire hard drive with sonos free anti-virus, but it found no threats.

I don't remember installing any new software in the past week, but there very several instances when I was asked for my password by some apps and osx. I suspect this is when the ownership changes. I'll pay more attention next time, so see if I can isolate the cause of this.
 

Smacky

macrumors 6502
Jul 23, 2008
455
5
I have two machines, after installing 10.6.5 I noticed an increase in both boot and shutdown times with the spinning wheel on a grey or blue screen
Using the terminal commands above fixed it
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.