How to fix "External file changes sync may be slow: The current inotify(7) watch limit is too low." in PhpStorm

Viewed 9366

Been trying to research what this error "External file changes sync may be slow: The current inotify(7) watch limit is too low." means and how to fix it in PhpStorm but I seem not to be able to get around it. The message pops up every time I run PhpStorm. Any assistance will be highly appreciated.

1 Answers

Try increasing the max_user_watches values and see if that fixes your issue. Open /etc/sysctl.conf with root permissions and change the fs.inotify.max_user_watches number to a bigger one.

fs.inotify.max_user_watches=524288

After modifying and saving the file, run sudo sysctl -p to apply the changes. Re-open PhpStorm and verify if the warning is gone.

Related