Updating Mac OS X 10.6.4 Snow Leopard ‘too many files’ problem

June 16th, 2010 § 0

Mac OS X Snow Leopard 10.6.4 has been released, and I’m sure everyone is immediately rushing to download it.

I did the same, but was left staring at the message:

The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.

Retrying the Installer, booting into Safe Mode and downloading the combo update all failed to work.
Delving a little deeper into the Console log files (found by opening Console.app from Applications/Utilities, clicking ‘Logs’ and the left hand side, then install.log) revealed that my install was failing due to the message

The operation couldn’t be completed. Too many open files in system

How could this be possible? The installer was the only thing running for me, and I had plenty of RAM and disk space, so what gives?
It turns out that – from this handy post – Snow Leopard only allows each process to have a maximum of 256 files open at any one time.

You can change the defaults (as shown in the link above) by typing this command into terminal:

launchctl limit maxfiles 1000000 1000000

This will set the max files per process to 1,000,000, which is more than enough.
Trying the installer again having entered this command into terminal worked perfectly!

Let me know if it fixes your problem.

1Password Plugin for Quicksilver

March 22nd, 2010 § 2

I’ve recently developed a 1Password plugin for Quicksilver that gives you the ability to open up Go & Fill items in 1Password, as well as giving you an action to ‘Go & Fill…’ directly from Quicksilver.

Go And Fill Action
» Read the rest of this entry «

Mac OS X Dock Resource Folder

December 21st, 2009 § 2

We all know that we should back up all the time, especially if we’re going to go tinkering with OS X’s insides.
dock iconSeeing someone had accidentally messed up their dock resources folder (found in /System/Library/Core Services/Dock.app/Contents/Resources) I posted  in the macrumors forums with a download link for the folder in question.
A year or so later I removed the file from my hosting, only to be bombarded with emails and PMs from others who’d done exactly the same thing – who’d have thought it!

Below you can find a link to the dock resources folder for Snow Leopard.
» Read the rest of this entry «

Where Am I?

You are currently browsing the Apps category at Web Design.