New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No space left on device - Failed to watch ... #229
Comments
This could arrive when there's too much files to watch in your folder, you can ignore some path with |
I've tried to use I've got only 93 files in the project:
|
That's weird, try to ask lib notify guys. |
Just FYI, |
Any news? |
Nope.Gonna try to run it on another machine. |
Hm.. At my work, on another PC same project runs well with guard.. On both PCs I use Debian Squeeze. |
I am having a similar problem with a large directory that I have ignored using ignore_paths. It insists on complaining that it has 'Failed to Watch" some file in the ignored directory. |
Paths are only ignored at the Guard level but not with |
There doesn't seem to be any way to selectively ignore paths in the underlying inotify interface. |
I took the monster directory out of the project tree for now. Thanks for trying. |
I removed |
Try increasing the max_user_watches for inotify. It is default set to 8192. I bumped it to 100k and things are ok.
To increase max_user_watches at boot, edit /etc/sysctl.conf and add fs.inotify.max_user_watches=100000 or fix fs.inotify.max_user_watches= to 100000. Don't thank me, thank this guy -> http://blog.sorah.jp/2012/01/24/inotify-limitation |
@jhirn Nice link, thanks to share it! /cc @Maher4Ever |
@thibaudgg I think it's indeed a good idea to catch this exception and show a link to a (wiki page?) or something on the Listen repo to help users. Shall we add the first wiki page to Listen ? :) |
Do it, but be sure to credit github.com/sorah and not me. =) |
@Maher4Ever yeah +1 for a link to our first Listen wiki page! |
@jhirn, good find! |
Guardfile:
Gemfile
Environment
Error
When I run
guard start
I see libnotify message with report and then guard crashes with next error:Does it try to watch git files? Do I miss something?
The text was updated successfully, but these errors were encountered: