原文:VSCode 出现错误 System.IO.IOException: The configured user limit (128) on the number of inotify instances has been reached.

方案一: sudo vim etc sysctl.conf 增加下面内容 环境变量 fs.inotify.max user watches fs.inotify.max user instances save the file sudo sysctl p 方案二: 增加临时环境变量export DOTNET USE POLLING FILE WATCHER true 方案三 echo fs.ino ...

2020-01-09 13:39 1 917 推荐指数:

查看详情

System limit for number of file watchers reached

https://blog.csdn.net/weixin_43760383/article/details/84326032 sudo xed /etc/sysctl.conf 在最下添加 fs.inotify.max_user_watches=524288 保存退出 sudo ...

Fri Sep 20 19:17:00 CST 2019 0 594
在 linux 中遇到 OSError: inotify watch limit reached 错误

检查系统当前限制,默认应该是 8192: cat /proc/sys/fs/inotify/max_user_watches 可根据需要调整系统限制,但是目前还不知道如何查看每个进程对 watch 的消耗 方法1(重启后失效):https://www.jianshu.com/p ...

Fri Feb 28 21:31:00 CST 2020 0 1056
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM