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.

makandra has been working exclusively with Ruby on Rails since 2007. Our laser focus on a single technology has made us a leader in this space.

Author of this card:

Avatar
Tobias Kraze
Last edit:
almost 6 years ago
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 makandra dev