Find or change the current file descriptor values.
The kernel parameters maxfiles and maxfiles_lim control the number of file descriptors available to any one process. The limit is 60,000 on a 64-bit system.
To find the current file descriptor values, use:
ulimit -n