-
Notifications
You must be signed in to change notification settings - Fork 222
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
'Error: No space left on device (os error 28)' when watching too many files #266
Comments
Quick note: You may already know about raising your max-files limit to watch. The error reported is not correct, I'll have to see whether this is labeled wrongly or may be coming from an internal (std?) part that reports this code as "no space left". |
Looks like this is wrong in the standard library - ENOSPC should not always be described as 'no space left'. |
(Appeared also in #103 ) |
@0xpr03 an option to workaround the upstream issue is to wrap |
It turns out this is a bug in libc itself 🤦 rust-lang/rust#78723 (comment). So I think it makes sense to fix in notify, even though it shouldn't have to. |
Yeah, I'll do a change for this. |
See #266 Signed-off-by: Aron Heinecke <[email protected]>
See #266 Signed-off-by: Aron Heinecke <[email protected]>
See #266 Signed-off-by: Aron Heinecke <[email protected]>
This is released for v4 in 4.0.16 |
And for v5 in 5.0.0-pre.7 |
System details
Linux build-server 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux
rustc --version
:rustc 1.49.0-nightly (ffe52882e 2020-10-30)
What you did (as detailed as you can)
I ran
notify
onsrc/
of rust-lang/rust withRecursiveMode::Recursive
.What you expected
Either it should work, or
notify
should give a helpful error when trying to watch too many files.What happened
notify
printedError: No space left on device (os error 28)
.The text was updated successfully, but these errors were encountered: