Skip to content

Instantly share code, notes, and snippets.

@gabrielgpa
Last active May 11, 2021 14:21
Show Gist options
  • Select an option

  • Save gabrielgpa/554e73ce8c80ff311d1d162de84f0a2f to your computer and use it in GitHub Desktop.

Select an option

Save gabrielgpa/554e73ce8c80ff311d1d162de84f0a2f to your computer and use it in GitHub Desktop.
Linux - Increasing the inotify watch limit

insert the new value into the system config

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

check that the new value was applied

cat /proc/sys/fs/inotify/max_user_watches

config variable name (not runnable)

fs.inotify.max_user_watches=524288

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