echo 65536 > /proc/sys/fs/inotify/max_user_watches
or
sysctl fs.inotify.max_user_watches=65536
vi /etc/sysctl.conf
#fix lsyncd error terminating since out of inotify watches
fs.inotify.max_user_watches=65536
echo 65536 > /proc/sys/fs/inotify/max_user_watches
or
sysctl fs.inotify.max_user_watches=65536
vi /etc/sysctl.conf
#fix lsyncd error terminating since out of inotify watches
fs.inotify.max_user_watches=65536