Skip to content

Instantly share code, notes, and snippets.

@johnjohndoe
Forked from bittner/60-jetbrains.conf
Created June 23, 2019 13: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 johnjohndoe/256e16f7167c0efc45238e1342e1a1e4 to your computer and use it in GitHub Desktop.
Save johnjohndoe/256e16f7167c0efc45238e1342e1a1e4 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment