Skip to content

Instantly share code, notes, and snippets.

@steppat
Created April 8, 2019 19:16
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 steppat/ed18bc83088e0be39753f040c7eb25bf to your computer and use it in GitHub Desktop.
Save steppat/ed18bc83088e0be39753f040c7eb25bf to your computer and use it in GitHub Desktop.
!/bin/sh
echo fs.inotify.max_user_instances=524288 | tee -a /etc/sysctl.conf && sysctl -p
echo 999 | tee -a /proc/sys/fs/inotify/max_user_instances
echo 99999 | tee -a /proc/sys/fs/inotify/max_queued_events
echo 99999 | tee -a /proc/sys/fs/inotify/max_user_watches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment