Skip to content

Instantly share code, notes, and snippets.

@joseluisq
Last active April 10, 2022 12:08
Show Gist options
  • Star 15 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save joseluisq/7f60f51b4570acac4a2ab5cecef31daa to your computer and use it in GitHub Desktop.
Save joseluisq/7f60f51b4570acac4a2ab5cecef31daa 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