Read more

Fix: Tail says "no space left on device"

Tobias Kraze
August 23, 2011Software engineer at makandra GmbH

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.

Illustration book lover

Growing Rails Applications in Practice

Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.

  • Introduce design conventions for controllers and user-facing models
  • Create a system for growth
  • Build applications to last
Read more Show archive.org snapshot

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.

Posted by Tobias Kraze to makandra dev (2011-08-23 12:29)