Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@romuloctba
Forked from joseluisq/inotify_arch_linux.md
Created April 27, 2020 00:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save romuloctba/513a12025dbe7e69be5047ced0f52980 to your computer and use it in GitHub Desktop.
Save romuloctba/513a12025dbe7e69be5047ced0f52980 to your computer and use it in GitHub Desktop.
Increasing the amount of inotify watchers in Arch Linux

Increasing the amount of inotify watchers in Arch Linux

If you are running ArchLinux, run the following command instead (see here for why):

echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --system

Then paste it in your terminal and press on enter to run it.

Source: https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment