Trying to increase system wide file descriptor count on Ubuntu 20.04 (LTS) x64, currently running as a droplet in DigitalOcean. Following the process outlined here; quick summary below:
- Use
ulimit -n
... prints 1024 ✅ - Add
fs.file-max=900000
andfs.nr_open=9000001
to/etc/sysctl.conf
- Execute
sysctl -p
to make the changes take effect. - Use
ulimit -n
to double check the changes... prints 1024 ❌ should have printed 900000!.
I would expect at step 4 to get something other than 1024! What I am doing wrong?