HCS: Problem-solving by Apple Certified Professionals

This is some blog description about this site
Nov
29

Maximum Number of Open Files Error on OS X

I viewed the system log files and saw the following error message every two minutes:

Nov 11 11:27:34 hcstest smbd[416]: in openpam_read_chain(): /etc/pam.d/other: Too many open files
Nov 11 11:27:34 hcstest smbd[416]: in openpam_read_chain(): /etc/pam.conf: Too many open files


I ran the “ulimit -a” command to see what the default open file size and Max user processes size were.  They were 256 and 709 which is very low.

ulimit -a 

core file size          (blocks, -c) 0  
data seg size           (kbytes, -d) unlimited  
file size               (blocks, -f) unlimited  
max locked memory       (kbytes, -l) unlimited  
max memory size         (kbytes, -m) unlimited  
open files                      (-n) 256  
pipe size            (512 bytes, -p) 1  
stack size              (kbytes, -s) 8192  
cpu time               (seconds, -t) unlimited  
max user processes              (-u) 709  
virtual memory          (kbytes, -v) unlimited  

I created two plist files that will change the default open file size and max user processes size limits to 524288 and 2048 and and put them in the following location:

/Library/LaunchDaemons/limit.maxfiles.plist

/Library/LaunchDaemons/limit.maxproc.plist

After a reboot, a re ran the ulimit -a command and the changes were now in effect.  I monitored the system log and these errors are now gone.

Nov 11 11:27:34 hcstest smbd[416]: in openpam_read_chain(): /etc/pam.d/other: Too many open files
Nov 11 11:27:34 hcstest smbd[416]: in openpam_read_chain(): /etc/pam.conf: Too many open files




ulimit -a  

core file size          (blocks, -c) 0  
data seg size           (kbytes, -d) unlimited  
file size               (blocks, -f) unlimited  
max locked memory       (kbytes, -l) unlimited  
max memory size         (kbytes, -m) unlimited  
open files                      (-n) 524288  
pipe size            (512 bytes, -p) 1  
stack size              (kbytes, -s) 8192  
cpu time               (seconds, -t) unlimited  
max user processes              (-u) 2048  
virtual memory          (kbytes, -v) unlimited
0
  2553 Hits
2553 Hits
Nov
24

Disable Auto Boot for MacBook Pro (Late 2016)

Auto boot is one of the new features of both the 13inch and 15inch Macbook Pro (late 2016). When you either attach a power source or open the lid (barring there is enough battery power) the device will startup. 

 

Continue reading
0
  2812 Hits
2812 Hits
Nov
17

New Setup Assistant Features

New Setup Assistant Features

With the release of new hardware features in the MacBook Pro (13-inch/15-inch, Late 2016, Four Thunderbolt 3 Ports) the setup assistant has added a few new steps. 

Apple annocued that the new Macbook Pros would have Touch ID and like iOS Devices the setup assistnat now includes adding a finger print when a computer is initially being configured. Similar to iOS you simply apply your finger to the Touch bar on the far right corner, where the power button was, and let macOS capture your finger print. Should you need to add or remove fingerprints simply naviagte to System Preferences and you will now see a new Touch ID preference pane. It is also caled out in the user guide that you can:  

Continue reading
0
  2594 Hits
2594 Hits
Nov
11

Required Fonts in /System/Library/Fonts/

Mountain Lion (10.8) and earlier

You must never remove Lucida Grande. Without that font, the system will not boot. If you remove it while the system is active, you will lose control of all menus, essentially locking you out of your Mac.

Continue reading
0
  2244 Hits
2244 Hits
Oct
24

macOS Sierra Update 10.12.1 improvements and fixes

  • Adds an automatic smart album in Photos for Depth Effect images taken on iPhone 7 Plus
  • Improves the compatibility of Microsoft Office when using iCloud Desktop and Documents
  • Fixes an issue that may prevent Mail from updating when using a Microsoft Exchange account
  • Fixes an issue that caused text to sometimes paste incorrectly when using Universal Clipboard
  • Improves reliability of Auto Unlock with Apple Watch
  • Improves security and stability in Safari
  • Fixes an issue that may cause Mail to display unnecessary password prompts for AOL accounts
  • Improves compatiblity with Fujitsu ScanSnap scanning software
  • Addresses a “Filter Failed” error when printing to some Canon printers
  • Fixes an issue that may prevent Grapher files from opening
  • Brings back the Safari option to “never use font sizes smaller than” for displaying fonts on webpages
Enterprise content:

Improves reliability of System Image Utility and image tool when creating network disk images.

Apple Security updates included as well
0
  2136 Hits
2136 Hits
Locations
New York
ConnecticutFloridaLouisianaChicago 

Tel: (866) 518-9672

Corporate Headquarters
New York

3900 Veteran's Memorial Hwy. Suite 110
Bohemia, NY 11716
Tel: (866) 518-9672
hcs-ny@hcsonline.com

Connecticut

65 High Ridge Road #510
Stamford, CT 06905
Tel: (866) 518-9672
hcs-ct@hcsonline.com

Florida

3321 SW 194th Terrace
Miramar, FL 33029
Tel: (866) 518-9672
hcs-fl@hcsonline.com

Louisiana

218 Barksdale Drive
Broussard LA 70518
hcs-la@hcsonline.com

Chicago

4 Knollwood Place
Joliet, IL 60433
hcs-il@hcsonline.com

London

10 Grosvenor Court
Rayners Road
London SW15 2AX UK

Apple Consultants Network