Daily Archives: October 24, 2011
Removing the “Gremlins” from Safari 5.1
I recently had a Mac customer that had issues with the latest version of Safari. I believe it is version 5.1. Safari would launch fine, but after browsing a few pages it would no longer quit. The “small spinning beach ball” would go until I did a Force Quit on Safari. I also noticed I could not make any changes to his bookmarks with out making Safari hang with the “endless small spinning beach ball.” I decided this must be caused by corrupted bookmarks and/or corrupted Safari configuration settings.
These are the steps I used to fix the issues:
- In Safari goto File, Export Bookmarks…
- Type a name for the html exported bookmarks and click Save
- Close Safari (force quit if necessary)
- Open a new Finder window (In Finder, File, New Finder Window)
- Go, Go To Folder…
- Type: /Users/(username)/Library/Safari
- Rename Bookmarks.plist to OldBookmarks.plist
- Shrink the Finder Window down to the Dock
- Open Safari
- Safari may hang at this point. Close Safari (force quit if necessary)
- Click on the icon on the dock to bring the Finder Window back up
- Move all the files and folders except Bookmarks.plist to the Trash
- Close the Finder Window
- Open Safari
- Goto File Import Bookmarks…
- Choose the exported bookmark file you made earlier and click Import button
- Goto Bookmarks, Show All Bookmarks
- Drag your bookmarks from the Imported Bookmarks folder to Bookmarks Menu (or where in bookmarks you want them to be)
This fixed all my customer’s Safari issues. I hope this helps anyone having similar issues.
Disclaimer: Any opinions expressed in this post are my own and do not represent any current or past employer.
SafariDAVclient taking 100% of CPU on Mac OS X 10.7.2
I have a customer that recently bought a new Mac Mini to replace an older Mac Mini. All of his data was tranferred at the local Apple dealer. A short time later he noticed the new Mac Mini was running really slow. It did not matter what applications he had running. As I started to dig into this issue, I launched the Activity Monitor utility and noticed SafariDAVclient using high amounts of CPU. It was up to 100% of the CPU at times. I googled this issue and many people said this was happened when iCloud was set to sync bookmarks. This was not the case for my customer. He did not have an iCloud account. He did have a MobileMe account. His MobileMe account was not set to sync bookmarks. I tried changing MobileMe setting, but no matter how I set it SafariDAVclient ran on startup and took high ammounts of CPU.
This is how I fixed the issue:
- I opened a new Finder Window and navigated to: Macintosh HD\System\Library\LaunchAgents
- I made a copy of the file: com.apple.safaridavclient.plist into a folder on the Macintosh HD which I created and named: Removed from LaunchAgents. This was a backup so it can be restored when and if Apple fixes this bug.
- I deleted the original file: com.apple.safaridavclient.plist from: Macintosh HD\System\Library\LaunchAgents
- I rebooted the new Mac Mini and SafariDAVclient did not restart and everything ran at full speed again.
Making SafariDAVclient not run on startup was not an issue for my customer as he does not use bookmark syncing to a cloud service. If he decides to in the future and Apple fixes apparent bug, all he needs to do is copy the backup of com.apple.safaridavclient.plist to its original location.
I hope this helps anyone having the same issue.
Disclaimer: Any opinions expressed in this post are my own and do not represent any current or past employer.