January 6, 2008

TMUP Live 60: Don’t toss your MacMaintenance Cookies

Filed under: Podcasts — Victor Cajiao @ 7:57 pm

Call the Listener Hotline 951-281-6332

Tonight’s show is brought to you by:

Ambrosia Software

Tonight’s co-host is Steve Stanger from The MacAttack Podcast. Tonight we start off the year talking about basic maintenance for your mac now that Leopard has been here a while.

This show is a member of Friends In Tech

Show Notes:

Maintenance and Troubleshooting Applications

Recommended monthly maintenance (or how to keeping your system purring

  • Keep your software (Mac OS and applications) up to date.
  • Back up before performing any maintenance. You should be backing up regularly anyway…
  • Before performing maintenance quit all applications.

Repair system/disk file permissions, using Disk Utility, Onyx, MainMenu.

I highly recommend performing ‘repair disk permissions’ before you install any system updates and then once again after.

Repair Permissions verifies System file permissions on the hard disk and repairs them as necessary. Incorrect permissions can result from certain installers or after a System crash, and might cause unexpected behavior. They can sometime slow down the computer or cause problems with the opening of a file or an application.

(Note: Repairing permissions takes longer under Leopard. Disregard SUID warnings.)

Run Maintenance Scripts, using Onyx or MainMenu

Mac OS X runs a number of different maintenance scripts that clean up a variety of system logs and temporary files.

The issue is that these Daily, Weekly, & Monthly scripts are scheduled to run between 3:15 and 5:30am. So if your computer is sleeping or tuned off these scripts don’t run.

(Note: Panther and Tiger – uses cron process, Tiger and Leopard uses launchd process. Reminder: everything above I recommend doing monthly

Recommended maintenance every six months

Zap parameter ram (PRAM)

Command, Option, P, and R.

shut down computer. Press this key combination before the gray screen appears. Hold the keys down until the computer restarts five times (you’ll hear the startup sound five times).

(Note: PRAM – a small portion of RAM used to store information about the way the system is configured – (i.e. startup disk and startup volume, time zone, etc.) You may need to reset your display, time zone, startup volume, and other affected settings using System Preferences.)

Reuild Indexes databases and Delete caches, using Onyx or MainMenu

LaunchServices – the Finder relies on LaunchServices to launch applications, open documents with the preferred application, keeps track of the kinds of files an application is capable of opening, and updates the Recent Items menu. (Tiger use MainMenu or Onyx, Leopard use Onyx.

(Note: For those of you who used Macs pre OS 10 – Rebuilding the Launch Services database is similar to rebuilding the desktop file in older versions of Mac OS and should correct application associations, remove old or duplicate entries in “Open With” contextual menu and restore default icons. You should restart your computer after rebuilding the Launch Services database to force the Finder and other applications to refresh.)

What happened to rebuilding the whatis and locate database? These two databases are automatically refreshed during the execution of the weekly maintenance script.

Caches to delete and rebuild – System, User, Internet, & font.

(Note: A cache is a place to store something temporarily so the OS or a program can retrieve and use it in a hurry. OS X uses disk-based caches that hold copies of graphics, frequently performed calculations, and the contents of dynamic menus. Caches help reduce application launch times, speed up the display of screen data, and make Web sites load faster. If a cache gets corrupt it can cause some tough to diagnose problems with the OS and applications.)

  • NOTE: Do not rebuild caches more then necessary (i.e. more frequently then every six months). A cache is meant to speed up your system. If you are rebuilding your caches often much you are actually slowing down your computer.

Side effects of cache cleaning

There are several important things to be aware of before performing cache cleaning.

Your first restart after System level cache cleaning will take longer than normal as important System related cache files are rebuilt.

Notifications to approve previously-approved applications will appear.

Fonts disabled in Font Book may become enabled. If you use font book to manage your fonts and you have disabled hundreds of fonts with Font Book, having all fonts enabled could result in slow performance of your Mac.

I recommend rebooting your computer twice before running any applications. After deleting the System and user caches.

A few things not to do!

  • Do not rebuild caches more then necessary – yes, again. A cache is meant to speed up your system. If you are rebuilding your caches too often you are actually slowing down your computer.
  • Do not delete cookies – cookies are a packets of information sent by a web server to your browser and then sent back by the browser each time it accesses that server. Cookies are used to keep track of your online passwords, post tracking and various viewing preferences on forums, for example.
  • Do not rebuild the Spotlight Index – forces the computer to reindex the locally connected hard drives. I wouldn’t do this unless you are having problems with Spotlight.
  • Do not update Prebindings (as seen in MainMenu) – Mac OS X updates prebinding automatically as a normal part of system operation. There is no benefit to updating prebinding on a regular schedule.

*Defragmenting (optimizing) hard drives – little benefit from defragmenting unless you do a lot of video editing, where large video files should not be fragmented. See this Apple article (http://docs.info.apple.com/article.html?artnum=25668).

(Note:Mac OS X uses “Hot-File-Adaptive-Clustering” which automatically defragments slow-growing files. With faster hard drives and better caching many applications simply rewrite the file each time it is updated.

Mac OS X systems use hundreds of thousands of small files, many of which are rarely accessed. Optimizing them can be a major effort for very little practical gain. There is also a chance that one of the files placed in the “hot band” for rapid reads during system startup might be moved during defragmentation, which would decrease performance.)

Like what you read or heard? Share and Enjoy:
  • digg
  • YahooMyWeb
  • Furl
  • del.icio.us
  • NewsVine
  • RawSugar
  • Reddit
  • Spurl

View Comments TMUP Live 60: Don’t toss your MacMaintenance Cookies »

  1. I now have the latest version of Onyx. I am unable to use it because I get an error. It's saying my password is incorrect. I looked at their forums and I'm not the only one. Repairing permissions doesn't help. Maybe Steve S. can help. I posted here to help others if they needed it. Here is a link to the forum post: http://www.titanium.free.fr/forum/viewtopic.php...

    Comment by Jim Felder — January 7, 2008 @ 12:07 pm

  2. Great title. :-)

    -Steve

    Comment by tma_steve — January 7, 2008 @ 3:36 pm

  3. I have tried to use ONYX for Leopard. I keep getting the error where it tells me to enter my password. When I do it tells me it's not valid. I know it's correct. I looked at the forum for the software and it seems I'm not the only one getting this. Any insight on this?
    I'm on a PM G5 dual 1.8 running the latest Leopard and the Leopard version of Onyx.

    Thanks

    Comment by jimfelder — January 7, 2008 @ 10:24 pm

  4. Great info, thanks for writing it all up in the shownotes too. Really valuable resource!

    One question: how do you get MainMenu to carry out the maintenance tasks automatically every month or every 6 months? Is that an iCal thing?

    Thanks again.

    Comment by pauline — January 8, 2008 @ 6:29 am

  5. [...] listened to a very informative podcast about maintenance for your mac from Victor and Steve on the Typical Mac User Podcast (TMUP). What’s great about this episode is that you don’t need to take notes – it’s all [...]

    Pingback by macintosh maintenance basics from typical mac user podcast « noah little — January 8, 2008 @ 6:02 am

  6. Hey Guys, That was a fantastic show. I am a new (2 month) switcher to Mac (although owned a Mac LC 1 back in 1990 in the dark days!!) I seem to have managed to learn all this already from listening to a whole lot of podcasts and reading many forum sites but it is really great to have it all down in one place and in print as well as to have the don't do's.

    Thanks very much – keep up the good work!

    Comment by Kevin — January 8, 2008 @ 10:02 am

  7. Thanks guys for the show. Not having run any maintenance scripts on my machines, tried Main Menu with good results – the cache cleaning recovered over 3 gigs of space on my desktop and performance is zippier.

    Comment by Dorothy — January 8, 2008 @ 12:31 pm

  8. Great podcast, very useful. It’s always good to remind us that maintenance, like back-ups (oh yeah!) is something we should be doing regularly. But I’m surprised you didn’t mention Macaroni among the tools. Its advantage over Onyx (I don’t know MainMenu) is that it runs all Unix maintenance tasks automatically, while Onyx requires manual operation and therefore remembering to do it (at least as far as I’m aware). Macaroni is great. It simply gets on and does all the tasks in the background, using time when computer use is slack. It completely gets over the problems of the OS’s early hours maintenance or having to fiddle manually. The only downside I can see is that obviously some apps will be open when the tests are run. This hasn’t caused me any problems that I’m aware of, but it would be interesting to hear any comments about this. Incidentally, I also have Onyx, Cocktail and TinkerTool on my system, but it’s macaroni I rely on for the basic stuff.

    Comment by Malcolm — January 11, 2008 @ 7:21 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

(required)

(required but not published)

blog comments powered by Disqus
 

January 2008
S M T W T F S
« Dec   Feb »
 12345
6789101112
13141516171819
20212223242526
2728293031