How to Increase the amount of inotify watchers

increase the amount of inotify watchers
To find count of inotify watcher - cat /proc/sys/fs/inotify/max_user_watches
Set a new limit of inotify watchers - echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
Apply systemwide changes - sudo sysctl -p
Recheck and confirm changes - cat /proc/sys/fs/inotify/max_user_watches

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.