increase inotify limit / watcher fail

22/08/2019

You can get your current inotify file watch limit by executing: (it's usually 8K)

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

or

$> sysctl fs.inotify

You can increase the limit with this command

$> echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sysctl -p
$> echo fs.inotify.max_user_instances=512 | sudo tee -a /etc/sysctl.conf && sysctl -p

Raccourcis