Skip to content

Instantly share code, notes, and snippets.

@bittner
Created September 25, 2015 07:57
Show Gist options
  • Save bittner/c7d1d49fe0c9af907f24 to your computer and use it in GitHub Desktop.
Save bittner/c7d1d49fe0c9af907f24 to your computer and use it in GitHub Desktop.
Inotify configuration for IntelliJ IDEA (PhpStorm, PyCharm, RubyMine, WebStorm). Create this file with e.g. `sudo vim /etc/sysctl.d/60-jetbrains.conf`
# Set inotify watch limit high enough for IntelliJ IDEA (PhpStorm, PyCharm, RubyMine, WebStorm).
# Create this file as /etc/sysctl.d/60-jetbrains.conf (Debian, Ubuntu), and
# run `sudo service procps start` or reboot.
# Source: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
#
# More information resources:
# -$ man inotify # manpage
# -$ man sysctl.conf # manpage
# -$ cat /proc/sys/fs/inotify/max_user_watches # print current value in use
fs.inotify.max_user_watches = 524288
@alextotalk
Copy link

Thanks!!!!

@thomich
Copy link

thomich commented Jul 5, 2021

nice and thanks for that gist...

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