Increasing the Maximum Number of File Descriptors(4.3)
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:fs.file-max=<new limit>