External file changes sync may be slow: The current inotify(7) watch limit is to

75 阅读1分钟

External file changes sync may be slow: The current inotify(7) watch limit is too low. More details.

Goland warn at bottom this error once start up

cat the kernel parameter:

$ cat /proc/sys/fs/inotify/max_user_watches
8192

that's the default, you can modify it to gain speed:

$ sudo touch /etc/sysctl.d/60-jetbrains.conf
fs.inotify.max_user_watches = 524288

to make the parameter take effect:

sudo sysctl -p --system