Skip to content

Instantly share code, notes, and snippets.

@jesugmz
Last active December 4, 2025 20:41
Show Gist options
  • Select an option

  • Save jesugmz/306d3b61eb2f0043e026cf3a28968650 to your computer and use it in GitHub Desktop.

Select an option

Save jesugmz/306d3b61eb2f0043e026cf3a28968650 to your computer and use it in GitHub Desktop.
Avoid the message 'External file changes sync may be slow: The current inotify(7) watch limit is too low.' from JetBrains products
#
# Avoid the message 'External file changes sync may be slow: The current inotify(7) watch limit is too low.' from JetBrains products.
#
# 1. Create the file /etc/sysctl.d/60-jetbrains.conf and paste this code
# 2. Restart the sysctl service: sudo sysctl -p --system
# 3. Restart the IDE
#
# More info:
# https://youtrack.jetbrains.com/articles/SUPPORT-A-1715/Inotify-Watches-Limit-Linux
# recommended quantity
fs.inotify.max_user_watches = 1048576
@alkhachatryan
Copy link

It helped, rather than official documentation.

Using Phpstorm 2018.1, Ubuntu 16.04

@YarikTH
Copy link

YarikTH commented Dec 4, 2025

@YarikTH
Copy link

YarikTH commented Dec 4, 2025

Also, next recomentation is increasing max_user_instances to 256.
Link from ide describing it - https://youtrack.jetbrains.com/articles/SUPPORT-A-1714/Inotify-Instances-Limit-Linux

@jesugmz
Copy link
Author

jesugmz commented Dec 4, 2025

Thanks for the update @YarikTH ! just updated the script.

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