-
-
Save olibre/a0219529a6cc347494f40780e7e539eb 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`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set inotify watch limit high enough for IntelliJ IDEA (PhpStorm, PyCharm, RubyMine, WebStorm). | |
# 1. Check current value in use: `cat /proc/sys/fs/inotify/max_user_watches` | |
# 2. Create this file as /etc/sysctl.d/60-jetbrains.conf (Debian, Ubuntu, Fedora...) | |
# 3. Apply new configuration: `sudo sysctl -p --system` or `sudo service procps start` or reboot | |
# 4. Check new value in use: `cat /proc/sys/fs/inotify/max_user_watches` | |
# | |
# References: | |
# * https://gist.github.com/olibre/a0219529a6cc347494f40780e7e539eb | |
# * https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit | |
# | |
# See also: | |
# `man inotify` | |
# `man sysctl.conf` | |
fs.inotify.max_user_watches = 524288 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment