Skip to content

Instantly share code, notes, and snippets.

@gp187
Last active June 13, 2023 08:56
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gp187/75cc27d92f926cf70fca6d3e134d8e0e to your computer and use it in GitHub Desktop.
Save gp187/75cc27d92f926cf70fca6d3e134d8e0e to your computer and use it in GitHub Desktop.
Webstorm, PHPStorm Inotify watch limit is too low
To prevent this situation it is recommended to increase the watches limit (to, say, 512K):
1. Add the following line to either /etc/sysctl.conf file or a new *.conf file (e.g. idea.conf) under /etc/sysctl.d/ directory:
fs.inotify.max_user_watches = 524288
2. Then run this command to apply the change:
sudo sysctl -p --system
And don't forget to restart your IDE.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment