Aravind Prabhakar

Systems Engineer | Networking | Security | PreSales | Cloud | Devops | AIOps

View on GitHub Linkedin Blogs Tags
6 April 2024

Too many open files error

By Aravind

Validate the limit

ulimit -n 
1024 

Set new limit

ulimit -n 2000

Validate

ulimit -a | grep open

check inotify

sudo sysctl -a | grep inotify
fs.inotify.max_queued_events = 16384
fs.inotify.max_user_instances = 128
fs.inotify.max_user_watches = 1048576
user.max_inotify_instances = 128
user.max_inotify_watches = 1048576

References

[ linux  ] tags: linux