2011-02-07

If tail -f file gives "too many open files"

If tail -f file gives "too many open files" then add this to your /etc/sysctl.conf
fs.inotify.max_user_watches=16384

Or interactively:
# sysctl -w fs.inotify.max_user_watches=16384

1 comment:

Warwick Hunter said...

I actually had to set the value to be 32767 on one of my machines.