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

June 16th, 2010 § 1 comment

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.

Tagged 10.6.4, installer, mac, os x, snow leopard, terminal

§ One Response to Updating Mac OS X 10.6.4 Snow Leopard ‘too many files’ problem

  • cparker says:
    September 18, 2010 at 5:27 am

    YES! Thank you, thank you, thank you.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

What's this?

You are currently reading Updating Mac OS X 10.6.4 Snow Leopard ‘too many files’ problem at Web Design.

meta

  • Author: Patrick
  • Comments: 1 Comment
  • Categories: Apps, Mac OS X

  • Pages

    • About Patrick Robertson
    • Bits & Bobs
    • Designing the World
    • Tags
    • Websites
  • Categories

    • Apps (5)
    • Holidays (1)
    • Mac OS X (8)
    • SEO (2)
    • Uncategorized (1)
    • Web Design (4)

© Patrick Robertson 2012

Powered by WordPress