Skip to main content

FAQ Help

This file contains general help with problems that may arise during building/development.

Open file limits on macOS

accounts-db opens many account files which requires admin changes to the machine - these are some resources to help:

Based on the above resources and individual testing, we concluded that to increase the number of open file descriptors and vnodes until next reboot, one must run:

  1. ulimit -Sn 100100100
  2. sudo sysctl kern.maxvnodes=100100100: warning, this has been known to crash when the SystemFdQuotaExceeded error would have been issues otherwise
  3. sudo sysctl -w kern.maxfiles=100100100
  4. sudo sysctl -w kern.maxfilesperproc=100100100