-
Notifications
You must be signed in to change notification settings - Fork 41
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
too many open files #76
Comments
Running |
OK, let's rephrase that then: why does it open all files and keep them open? |
I think first part is obvious, but second one is not. :) I did look at why it opens them IIRC, but I didn't action on it. Not sure why it keeps them open though, that needs to be researched again it seems. :) |
true :)
care to re-open then? |
Sure! :)) If you want to research/fix that, I would really appreciate it! If not, I guess I'll look at that sometime, but not sure when - a bit too busy lately with work and real-life stuff. |
Had a look at the FAQ for fsnotify (which is imported by lib/watch.go)
As long as you're watching them, the files have to be open. It's easiest to increase the limit. Alternatively you could use a "polling" approach which is way slower, but will work for any amount of files. |
Well, that statement isn't true for all OS. On macOS it would be great to use https://github.com/emcrisostomo/fswatch But it sounds like there is a progress in supporting that with |
...and specifically fsnotify/fsnotify#11 |
I was trying to build your site but when serving the pages I get
Building it and running
python -m SimpleHTTPServer 8000
instead works fine though.The text was updated successfully, but these errors were encountered: