You may need to increase the maximum number of file descriptors on a system with large configurations. The procedure below describes how to increase the limit on a Linux system.
Check the current limit:
$ cat /proc/sys/fs/file-max
Change the limit:
$ sysctl -w fs.file-max=<new limit>
The limit will be reset to the previous value if the host is rebooted. Add or update the following line in the file /etc/sysctl.conf to make the change permanent: