
Apple 10.6.3 Snow Leopard Update Trouble
Upon trying to upgrade to the newest major update by Apple for OS X to 10.6.3 I had nothing but trouble. Some Macs upgrade fine. Others do not.
I always download the full combo update since I have hundreds of Macs to update it saves lots of time and bandwidth to just download the full update one time instead of a smaller update over and over again. The combo update for the client is 713 MB.
When running it on my favorite iMac 24 which I use as my main workstation the GUI installer would fail within the first minute of the install during the “writing files” stage and had some useless error saying the installer had failed and that I needed to contact the software manufacturer (in this case Apple). I tried all sorts of things and scoured the Internet as well as Apple’s site looking for help but since the update is so new there is very little info out there. Hopefully this will help you if you’re having the same trouble!
I cleaned temp files and dumped cache folders and tried multiple accounts and ran cleanup utilities including YASU (http://jimmitchell.org/yasu/) which all helped the system but didn’t do anything for the update. I even ran the software updater from the command line using “sudo softwareupdate -i -a” but all failed.
After about an hour of searching I found that if I didn’t close the installer after the error I could go to the menu bar and view the log file. Silly me I knew it was there! The log file told me that there was an error 23, too many open files in system. There is very little info on this error 23 except that it is indeed too many open files in the system. So after some more investigation I found the sysctl command. By using sysctl kern.maxfiles you can see what your system is set at as far as the maximum allowed open files. My iMac was at 2000 which seemed like more than enough but this was largest update I had attempted and I have LOTS of software on my iMac. So I changed that value to 5000 using the command “sysctl -w kern.maxfiles=5000″. Understand this is done either under sudo or sudo su in a terminal window.
After changing the maxfiles to 5000 the updater ran without a hitch! I’m not sure if I need to set that value back to 2000 but I’m going to leave it at 5000 since there should be plenty of system resources to handle it. If I start to see system performance issues I will set it back to 2000. I know most Linux systems are well under 1000 and some under 500 for max files so 5000 seems like overkill.
Please leave a comment if this fixed your issue or contact me if you need additional help!!
Popularity: 100% [?]





