If you like to make your limit permanent, use: $ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/nf You can set a new limit temporary with: $ sudo sysctl fs.inotify.max_user_watches=524288 When this limit is not enough to monitor all files inside a directory, the limit must be increased for Listen to work properly. You can get your current inotify file watch limit by executing: $ cat /proc/sys/fs/inotify/max_user_watches For example, Ubuntu Lucid's (64bit) inotify limit is set to 8192. It's not uncommon to encounter a system limit on the number of files you can monitor. Listen uses inotify by default on Linux to monitor directories for changes. Then paste it in your terminal and press on enter to run it. $ echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/nf & sudo sysctl -system If you are running ArchLinux, run the following command instead $ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/nf & sudo sysctl -p If you are running Debian, RedHat, or another similar Linux distribution, run the following in a terminal: If you are not interested in the technical details and only want to get Listen to work: You can fix it, that increasing the amount of inotify watchers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |