changes.mady.by.user Former user
Saved on May 10, 2023
Saved on May 16, 2023
...
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:
/etc/sysctl.conf
fs.file-max=<new limit>