-
Notifications
You must be signed in to change notification settings - Fork 25
Language server error with "open /dev/null: too many open files *os.PathError" #67
Comments
please update bingo to latest commit, and tell me the watch dir number as follow: |
|
Is the error still there? |
YES |
I noticed that the errors only appear when the go-project has many submodules & files |
How to reproduce this problem? I can not reproduce it. |
@saibing close this issue until I found the pattern to reproduce. thx! |
@saibing checking the number of opened files by:
reproduce steps:
======================================== |
Also have this issue on latest commit (Also macOS Mojave). I think the root of problem is fsnotify/fsnotify#11 |
Possible solution is another fs notify implementation based on https://github.com/fsnotify/fsevents with |
I feel very happy, if you can solve this problem. I don't have a Mac to test this problem. |
Ok, I'll try. |
I also am intermittently getting this error in projects with lots of non-go files. The one I was having trouble with the other day had a python virtualenv in it with a bunch of (on macos) |
[Info - 10:35:39 AM] notify: open /Users/mbana/work/openbankinguk/bitbucket/conformance-suite/web/node_modules/yorkie: too many open files
...
[Info - 10:35:39 AM] fsnotify watch dir number: 1135
... Confirming same issue on Mac. |
I'm using bingo as LSP server in emacs and everything works well.
LSP was broken after I update the source code and rebuild it.
the error appears after commit 95ba275
reproduce steps:
then open emacs.
see errors:
if I checkout to 5963059
and rebuild again. Everything works well.
The text was updated successfully, but these errors were encountered: