How to increase the «open files» `ulimit - a` report value in Debian 9?

02

Step 1

Set in /etc/sysctl.conf:

fs.file-max = 99999

Step 2

Set in /etc/security/limits.conf:

* hard nofile 99999
* soft nofile 99999
root hard nofile 99999
root soft nofile 99999

Step 3

reboot

03