ENOSPC Error
See original GitHub issue- Node Version: v6.10.0
- Egg Version: 1.0.0-rc.2
- Plugin Name: egg-watcher
- Plugin Version: 2.1.0
- Platform: 4.9.13-200.fc25.x86_64(Fedora 25)
启动官方的 egg hackernews,egg-watcher
执行 watch
的时候栈报错了,暂时未找到错误产生的原因。
错误日志:
2017-03-11 19:42:19,151 ERROR 31670 nodejs.ENOSPCError: watch /home/mwong/Documents/Recruit/interview/egg-example/config ENOSPC
at exports._errnoException (util.js:1022:11)
at FSWatcher.start (fs.js:1429:19)
at Object.fs.watch (fs.js:1456:11)
at Walk.<anonymous> (/home/mwong/Documents/Recruit/interview/egg-example/node_modules/wt/index.js:186:20)
at emitTwo (events.js:106:13)
at Walk.emit (events.js:191:7)
at /home/mwong/Documents/Recruit/interview/egg-example/node_modules/ndir/lib/ndir.js:107:16
at FSReqWrap.oncomplete (fs.js:123:15)
code: 'ENOSPC'
errno: 'ENOSPC'
syscall: 'watch /home/mwong/Documents/Recruit/interview/egg-example/config'
filename: '/home/mwong/Documents/Recruit/interview/egg-example/config'
dir: '/home/mwong/Documents/Recruit/interview/egg-example/config'
name: 'ENOSPCError'
pid: 31670
hostname: asus-x550cc
2017-03-11 19:42:19,154 ERROR 31670 nodejs.ENOSPCError: watch /home/mwong/Documents/Recruit/interview/egg-example/app ENOSPC
at exports._errnoException (util.js:1022:11)
at FSWatcher.start (fs.js:1429:19)
at Object.fs.watch (fs.js:1456:11)
at Walk.<anonymous> (/home/mwong/Documents/Recruit/interview/egg-example/node_modules/wt/index.js:186:20)
at emitTwo (events.js:106:13)
at Walk.emit (events.js:191:7)
at /home/mwong/Documents/Recruit/interview/egg-example/node_modules/ndir/lib/ndir.js:107:16
at FSReqWrap.oncomplete (fs.js:123:15)
code: 'ENOSPC'
errno: 'ENOSPC'
syscall: 'watch /home/mwong/Documents/Recruit/interview/egg-example/app'
filename: '/home/mwong/Documents/Recruit/interview/egg-example/app'
dir: '/home/mwong/Documents/Recruit/interview/egg-example/app'
name: 'ENOSPCError'
pid: 31670
hostname: asus-x550cc
2017-03-11 19:42:19,156 ERROR 31670 nodejs.ENOSPCError: watch /home/mwong/Documents/Recruit/interview/egg-example/app/public ENOSPC
at exports._errnoException (util.js:1022:11)
at FSWatcher.start (fs.js:1429:19)
at Object.fs.watch (fs.js:1456:11)
at Walk.<anonymous> (/home/mwong/Documents/Recruit/interview/egg-example/node_modules/wt/index.js:186:20)
at emitTwo (events.js:106:13)
at Walk.emit (events.js:191:7)
at /home/mwong/Documents/Recruit/interview/egg-example/node_modules/ndir/lib/ndir.js:90:12
at FSReqWrap.oncomplete (fs.js:123:15)
code: 'ENOSPC'
errno: 'ENOSPC'
syscall: 'watch /home/mwong/Documents/Recruit/interview/egg-example/app/public'
filename: '/home/mwong/Documents/Recruit/interview/egg-example/app/public'
dir: '/home/mwong/Documents/Recruit/interview/egg-example/app/public'
name: 'ENOSPCError'
pid: 31670
hostname: asus-x550cc
2017-03-11 19:42:19,158 ERROR 31670 nodejs.ENOSPCError: watch /home/mwong/Documents/Recruit/interview/egg-example/app/controller ENOSPC
at exports._errnoException (util.js:1022:11)
at FSWatcher.start (fs.js:1429:19)
at Object.fs.watch (fs.js:1456:11)
at Walk.<anonymous> (/home/mwong/Documents/Recruit/interview/egg-example/node_modules/wt/index.js:186:20)
at emitTwo (events.js:106:13)
at Walk.emit (events.js:191:7)
at /home/mwong/Documents/Recruit/interview/egg-example/node_modules/ndir/lib/ndir.js:107:16
at FSReqWrap.oncomplete (fs.js:123:15)
code: 'ENOSPC'
errno: 'ENOSPC'
syscall: 'watch /home/mwong/Documents/Recruit/interview/egg-example/app/controller'
filename: '/home/mwong/Documents/Recruit/interview/egg-example/app/controller'
dir: '/home/mwong/Documents/Recruit/interview/egg-example/app/controller'
name: 'ENOSPCError'
pid: 31670
hostname: asus-x550cc
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Node.js: what is ENOSPC error and how to solve?
ENOSPC means that there is no space on the drive. Perhaps /tmp is full?
Read more >How To Fix - Error "ENOSPC: System Limit for Number of File ...
First thing first – ENOSPC -> Denotes that means that there is not sufficient space on the drive (or Temp folder also) to...
Read more >ENOSPC: System limit for number of file watchers reached.
It's only affecting watch-command and appears to be linked to a file-system incompatibility when watching file changes. This problem seems to ...
Read more >Handling ENOSPC Error on VS Code - Crishantha Nanayakkara
If you are using VS Code for your development, the ENOSPC Error can be a common one. (Especially if you are Linux Debian...
Read more >Node.js: what is ENOSPC error and how to solve - iTecNote
For uploading files to server I use this plugin. When starting file upload to the server, Node.js process crashed and show error: Error:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@atian25 没有。经过排查,疑似服务器上其他进程(类似 vscode remote server进程)引起的问题。重启释放后不再出现此错误信息。
通过修改系统配置:
提高监听的文件数确实可行,暂时没有什么问题,thanks:)