Kite exceeds inotify_watches limit

On Linux systems, Kite watches directories in $HOME to automatically detect when Python files change so as to provide up to date information. If your system has a large number of files, Kite can possibly exceed the default limit on inotify_watches. When this happens, overall system performance will degrade.

We are actively working on fixing Kite's behavior to watch files more efficiently. In the meantime, you can fix this by running the following commands to increase the limit:

sudo echo "fs.inotify.max_user_watches = 524288" > /etc/sysctl.d/30-kite.conf
sudo sysctl -p --system

Afterwards, you will need to restart Kite.

If you are using VS Code or a JetBrains editor, you may encounter the same problem within your editor. You can read the guides below to learn how to troubleshoot for your editor.

Still need help? Contact Us Contact Us