Skip to content

Instantly share code, notes, and snippets.

@gpetuhov
Created August 30, 2019 05:56
Show Gist options
  • Save gpetuhov/7964a002edd0712b6b91071fe044b939 to your computer and use it in GitHub Desktop.
Save gpetuhov/7964a002edd0712b6b91071fe044b939 to your computer and use it in GitHub Desktop.
Ubuntu increase inotify limit
Ubuntu increase inotify limit
https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers
cat /proc/sys/fs/inotify/max_user_watches
(default is 8192)
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
cat /proc/sys/fs/inotify/max_user_watches
(should be 524288)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment