Fail to watch directory[ too many open files ]
micln opened this issue · comments
xing commented
$ gowatch
gowatch.go:77: [INFO] Initializing watcher...
gowatch.go:79: [INFO] Directory( /Users/xxx )
gowatch.go:79: [INFO] Directory( /Users/xxx )
gowatch.go:82: [ERROR] Fail to watch directory[ too many open files ]
在 配置里排除 vendor 页也是这样的
看起来有点干,还需要什么信息吗?
xing commented
ulimit -n 2048
后解决。
不过看了下项目,不算vendor 只有600个文件