在启动服务器以测试AWS代码生成中的柏树测试时获取此错误
Error: ENOSPC: System limit for number of file watchers reached所以我试着把max_user_watches提高到524288。但后来我得到了
Running command echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
fs.inotify.max_user_watches=524288
sysctl: setting key "fs.inotify.max_user_watches", ignoring: Read-only file system如何在AWS代码构建中增加最大用户监视?
发布于 2022-04-27 10:44:37
在build运行命令中,首先解决了这个问题。
phases:
install:
commands:
- echo fs.inotify.max_user_watches=524288 | tee -a /etc/sysctl.conf && sysctl -phttps://stackoverflow.com/questions/72023838
复制相似问题