10.6.4 update issues - fixed, sharing the steps

Installation of the 10.6.4 Combo update was failing. Logs reflected the following:

+6/20/10 8:28:02 PM installd[1814] PackageKit: Install Failed: PKG: extracting "com.apple.pkg.update.os.10.6.4.combo"+
+Error Domain=PKInstallErrorDomain Code=110 UserInfo=0x102f12670 "An error occurred while extracting files from the package “MacOSXUpdCombo10.6.4.pkg”." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=23 UserInfo=0x105a81e60 "*The operation couldn’t be completed. Too many open files in system*") {+
+NSFilePath = "/var/folders/zz/zzzivhrRnAmviuee ++++++++++/-Tmp-/PKInstallSandbox-tmp/Root";
+NSLocalizedDescription = "An error occurred while extracting files from the package \U201cMacOSXUpdCombo10.6.4.pkg\U201d.";+
+NSURL = "#MacOSXUpdCombo10.6.4.pkg -- file://localhost/Volumes/Mac%20OS%20X%2010.6.4%20Update%20Combo/MacOSXUpdCombo10 .6.4.pkg";+
+NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=23 UserInfo=0x105a81e60 \"The operation couldn\U2019t be completed. Too many open files in system\"";+
+PKInstallPackageIdentifier = "com.apple.pkg.update.os.10.6.4.combo";+
}

With a sprinkling of kernel messages nearby:
+6/20/10 8:27:56 PM kernel file: table is full+

Problem is pretty straightforward--too many files open. Google suggests it's a soft limit set by the kernel. Default looks to be 2,000 files.

I ran the following in Terminal to temporarily set the soft limit to 10,000 files:
*sudo sysctl -w kern.maxfiles=10000*
*sudo sysctl -w kern.maxfilesperproc=10000*

(Note: These changes revert after a reboot.)

Reran the update and it installed without issue.

Hope this helps.

Macbook (late 2009), Mac OS X (10.6.4)

Posted on Jun 20, 2010 7:10 PM

Reply
12 replies

Jun 21, 2010 2:14 AM in response to nicboman

nicboman wrote:
Problem is pretty straightforward--too many files open. Google suggests it's a soft limit set by the kernel. Default looks to be 2,000 files.


FWIW, I have done nothing special to set the kern.maxfiles parameter on any of my Macs. According to the Terminal command "sysctl kern.maxfiles" it's set to 12,288 files on each of them. Similarly, kern.maxfilesperproc is set to 10,240 files.

This is true not only of the three Intel Macs running Snow Leopard but even for an older G5 iMac running Tiger. Thus, I conclude this is the normal system default.

I have seen occasional references to the 2000 file limit so I suspect there is some utility, third party process, or hack setting this specific value in affected systems. Do you have any thoughts on that? Is your OS installation totally normal or in any way unusual?

Jun 21, 2010 4:47 AM in response to R C-R

My system is unusual. I spend as much time in Terminal as I do other applications, though I had left sysctl alone before the 10.6.4 patch.

Here's some software I've installed that might've had a hand in changing my kern.maxfiles:
SMARTBoard software
Promethean Board software - ACTIVInspire
Fink
Mathematica 7.00

Those are the programs I can think of that don't just drop an .app package in Applications and call it good. I won't have time today to determine what made the change, but when I do have time I'll take a look.

Thanks for the feedback, R C-R.

Jun 21, 2010 10:17 AM in response to sammy mazola jr

sammy mazola jr™ wrote:
I strongly suspect the SMART board software install had something to do with this.


With only two users (so far) reporting the issue & the fix with SMART board software installed, it isn't exactly a smoking gun, but it is certainly worth investigating further. I notice (if I have the right company) that there is a lot of SMART software available for Macs. Perhaps it would be helpful to list what each of you has installed & the version numbers.

Jun 21, 2010 10:25 AM in response to R C-R

R C-R wrote:
With only two users (so far) reporting the issue & the fix with SMART board software installed, it isn't exactly a smoking gun, but it is certainly worth investigating further. I notice (if I have the right company) that there is a lot of SMART software available for Macs. Perhaps it would be helpful to list what each of you has installed & the version numbers.


Agreed. Here is my data point, from "SMART Board Control Panel: About this software":

- Software version 10.6.48.0
- SMART Product Drivers install version: 10.6.48.0
- SMART Notebook Install version: 10.6.95.0

Jun 21, 2010 11:06 AM in response to sammy mazola jr

It looks like nicboman found the smoking gun, at least for those with the SMART product drivers:

http://discussions.apple.com/message.jspa?messageID=11712221#11712221

For anyone else with a similar "installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance" message but without this software installed, it might be worth entering the following simple Terminal command & pressing return to see if something else has set the kern.maxfiles parameter to too small a value:

sysctl kern.maxfiles

This is informational only; it does not set anything or require sudo to execute. I believe the normal response should be:

kern.maxfiles: 12288

If it is anything less, especially if it is a much smaller number, this is almost certainly the cause of the failure.

Jun 30, 2010 6:36 AM in response to Sivee21

By any chance did you try the "sysctl kern.maxfiles" command to see what the maximum number of files was set to before you changed it? It would be useful to know what that number was if you did & if you had installed the SMART board software or not.

I'm wondering if there is any other software that also sets the maxfiles number to too small a value.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

10.6.4 update issues - fixed, sharing the steps

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.