Too many files open (UNIX and Linux)

The Too many open files message occurs on UNIX and Linux operating systems. The default setting for the maximum number of open files might be too low.

To avoid this condition, increase the maximum open files to 8000:
  1. Edit the /etc/security/limit.conf file.
  2. Change the statement that specifies the value of nofiles to 8000.
  3. Optional: If you want the change to take effect in the current session, type ulimit -n 8000.