Error> tail: cannot watch No space left on device

Error> tail: cannot watch No space left on device

The error is due to a shortage of system watches as opposed to any issue with disk space.

This can be fixed by increasing the value of fs.inotify.max_user_watches for which the default value is 8192.

Step1: Open the sysctl config file

#vi /etc/sysctl.conf

Step2: Add the following line and save the file

fs.inotify.max_user_watches= 65536

Step3: Reload sysctl configuration

#sysctl -p

Leave a Reply

Your email address will not be published. Required fields are marked *