Posted over 6 years ago. Visible to the public.

Fix: Tail says "no space left on device"

Linux provides a fix number of filesystem watches. If you have some greedy daemon (like dropbox) running, chances are it uses all of them, and you cannot use tail -f any more.

To increase the number of watches, put something like
fs.inotify.max_user_watches = 32768
into /etc/sysctl.conf. (default is 8192)

To update the setting right away, run
sudo sysctl -p /etc/sysctl.conf
afterwards.

Growing Rails Applications in Practice
Check out our new e-book:
Learn to structure large Ruby on Rails codebases with the tools you already know and love.

Author of this card:

Avatar
Tobias Kraze
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Tobias Kraze to makandropedia