-
Notifications
You must be signed in to change notification settings - Fork 15
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
sos: addWatch: resource exhausted (No space left on device) #34
Comments
It looks like rebooting will clear up this issue -- is it possible that steeloverseer is missing a clean-up step? |
In my experience when linux says "no space left on device" - "device" means "disk". I am by no means a linux expert though. Are you running |
Possibly relevant: google/cadvisor#1581 (comment). |
@sjakobi-as My internal simulator wouldn't be surprised if this was the culprit: perhaps when you run steeloverseer in tmux, watches aren't evicted as you would expect because of the top-level process. I've been avoiding using |
Ah! I think I found the bug. I was using
I don't have time to make the fix at the moment, but I think this behavior confirms @sjakobi-as' observation. I'll try to lock down some test cases. |
Thanks for your diligence @stites :) |
Try providing the directory of the sources (code) you'd like to watch, this will limit |
No need! This is reproducible on two of my machines, but the bug is that fsnotify is swallowing errors thrown by hinotify. See haskell-fswatch/hfsnotify#85 |
When running
sos
on Ubuntu-17.10 (x64), I occasionally getsos: addWatch: resource exhausted (No space left on device)
at first I thought this was only when I was in tmux, but it looks like it happens in some non-deterministic fashion. Memory usage is <25% utilization and disk space is ~66% -- so I'm not sure what kind of space is being referred to in this error. I've never had this problem on Archlinux or Debian (so far).If someone could point me in a direction, I can try to fix this myself (I imagine it is a bit difficult to simulate).
The text was updated successfully, but these errors were encountered: