Skip to main content

Slow shutdown with Leopard - steps taken so far - Summary post

I thought it might be useful for me to summarise what has happened so far and what steps Ive taken, mainly for anyone new coming across this via Google and also just to attempt to make sense of the jumble of posts that I have so far. So here goes :)

The issue
My new MBP (2.6GHz Merom / 320GB HDD / 4GB RAM) started to take a while to shutdown, roughly from 50 seconds to a minute, which is a big difference from the 7 seconds a new install takes. During the shutdown process I would see the "progress cog" appear on my desktop and spin around for a bit until the computer shutdown. Sleep also took a long time, regardless of whether I had 2GB or 4GB of RAM.

I initially had this problem on my original core due MBP and first noticed it when I was testing my new 2.6ghz MBP with a fresh install of Leopard.

The reason that the issue got passed onto my new MBP was because I wanted to keep the bigger drive, so I unplugged it from the original MBP and swapped it with the drive in the new MBP, so I got the extra space at the cost of the slow shutdown/sleep.


Steps taken so far
So far I have tried the following, ranging from the standard Mac voodoo to the non-standard...

Phase 1
  • Repaired permissions
  • Ran monthly scripts
  • Cleared out caches (internet, kernel, system, font etc)
  • Verified the drive (no errors)
  • Checked out and cleared out any unnecessary items from startup items
  • Cleared out any old preference settings for uninstalled applications

Phase 2
  • Examined the console logs, found some messages first that suggested it may be parallels trying to close down its network connections.
  • To check, I uninstalled Parallels but there was no change and things were still just as slow. I went back to the console and found that EyeTV Helper couldnt quit. 
  • I started looking into EyeTV as a possible culprit but it seems that this may have been a wild goose chase.
  • Checked if EyeTV was up to date (at the time it was).
  • Tried manually quitting the process via activity monitor and then shutting down but shutdown was still slow.
During this time, I discovered  a utility called SmartSleep (its in an earlier blog post), which to cut it short puts the computer to sleep instead of hibernating it based on the battery level. I installed this and the sleep time was dramatically reduced but the slow shutdown still remained.

Phase 3
I couldnt find anything else in the logs to indicate why things were so slow and so I decided to see if the menu applets or widgets that I use were causing an issue. So I created a new user account with no menu items besides the standard Apple ones and also no widgets running (in hindsight I should have tried this as part of Phase1).

This wasnt the solution I was looking for though as the result was still the same, the shutdown was just as slow with the new user as with my standard account.

I next installed Leopard onto an external HDD, booted from that, applied all of the updates to date and tried a few shutdowns and restarts and it was amazing how fast it was compared to my current install.

At this stage I was debating just dragging over my apps and documents to the new installation and then cloning it to my internal drive but I didnt want to go through the hassle of authorizing and deauthorizing etc in iTunes and I also didnt want to give up, I wanted to find the cause and learn basically.

I went back into the new user account and started to compare the console logs from the new account with the old ones but couldnt find anything to suggest what could be the cause, so I started Googling.

Via Google I found some forums where people were mentioning external drives as causes for slow shutdowns, which gave me an idea that perhaps my bootcamp partition was influencing my shutdown. I tried unmounting the window drive and my computer was able to shutdown in 15 seconds as opposed to a minute.

I was (and still am) in the process of trying to determine why this was when a guy Bob posted in the comments and let me know about the terminal commands to disable hibernate, which he found on macosxhints (theyre a couple of posts below this one if youre interested).

I tried this out - leaving the windows partition still mounted and the computer shutdown again very quickly, around 7 to 15 seconds.

So thats the stage that I am currently at and I am now trying to understand why. If anyone would care to share their insight here it would be more than welcome :)


Comments

Popular posts from this blog

Slow shutdown with Leopard and hibernate

Just for kicks yesterday, I reset my hibernatemode to 3 as I had previously set it to 0 as outlined in one of my posts below. Interestingly enough, my MBP now shuts down just as quickly as it did when I had hibernatemode set to 0 and thats also without having to eject my windows bootcamp partition.  At the moment I have no idea why this is the case, I still have to check my log files but I thought I would share the info at least.

Macbook Pro Upgrade

Ive finally finished the last (for now) of the upgrades to my first gen core duo Macbook Pro and I have to admit that I'm quite happy at the moment. The first upgrade was a few weeks ago, when I exchanged the superdrive that came with the laptop for another one, specifically an 8x speed, dual-layer burner (a step up from the 4x burner that came with the Macbook). The model is a HL-DT-ST DVD +- RW GWA4080M, which I found on eBay and is supposedly an authentic Apple replacement part (the sticker on the drive has the Apple logo on it). So far the drive has been working fine, Im playing with the idea of upgrading the firmware on it but on the other hand I'm thinking, if its not broken... I guess I need to do some more research first. My second upgrade was a new hard drive - I installed the Western Digital Scorpio 250GB WD2500BEVS-11UST0, it formats to around 232GB which is still a big jump from the standard 100GB drive that came pre-installed. I performed both upgrades following th...

Slow shutdown with Leopard - Possible Solution?

I was just playing around with this again and remembered that in the past, having external drives connected could cause the computer to shutdown slowly, one of the things that didnt occur to me until now though, was that my Windows Bootcamp partition may be an external drive of sorts, or at the least, may be affecting the shutdown cycle. So I ejected it and then tried shutting down. The computer now shuts off in 15 seconds or less as opposed to almost a minute before, it still doesnt seem as fast as a new install of Leopard but its definitely a big improvement. The question now though is why or what is it doing with the Windows partition before it shuts down? It also possibly invalidates the earlier line of research I was following with the menu applets, so clearly I need to look into this some more but its the first definite improvement I have seen. If you try this and it improves your shutdown speed please let me know, it will be interesting to compare.