-
Notifications
You must be signed in to change notification settings - Fork 945
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: watch ENOSPC on 0.15 (running inside Docker) #739
Comments
This feels like a |
Also @siboulet are you sure the container has enough space as well? |
@indexzero thanks for the follow up. Absolutely sure I have sufficient disk space. I initially though it was a space issue but it really isn't. Simply changing the forever version and restarting (the same container) works. |
Can you show me a |
@indexzero I checked multiple time already, trust me, it's not a disk space issue. Also checked df -i for the inodes. I have plenty of space left (several GB). I don't have time to set a test for this right now, but I'm using the official Node image here: https://registry.hub.docker.com/_/node/ |
Ok. Seems like it could be a |
@210ToNy210 does that version contain a patch? It looks like that has been merged with main right? Anyhow I'm using the latest forever (0.15.1) and am also running into the same error as OP. I also confirm enough space is available. In my case though forever works if I am not watching. This is my full command which works fine locally but inside docker blows up.
Without watch forever works as expected. With watch after about 10 seconds it dies. |
And somehow I didn't follow that link by @indexzero before posting. Looks like watch has already been picked up on... |
+1 |
Rollback to @0.14.2 helps |
+1 |
I got an error, maybe related to this one, when i use the watcher :
|
@42antoine |
Has anyone here tried upping the number of inotify watchers? You have to do it inside of the host, and then the docker container will have the same number. You can't modify this value from inside the docker container for security reasons AFAIK.
In jestjs/jest#3254 @maraisr did some research for another problem. There's also a great post here if you want to know how to see your current inotify watcher value, and see how many are being used at any given time. https://unix.stackexchange.com/questions/13751/kernel-inotify-watch-limit-reached |
im getting
and also some unintended behavior |
WTF... it's watching everything, even without |
I can no longer use forever inside Docker container after updating to 0.15. I have plenty of space left, not sure why I'm getting ENOSPC.
Rolling back to 0.14.2 works.
The text was updated successfully, but these errors were encountered: