How to increase max_user_watchers in AWS code build? Error: ENOSPC: System limit for number of file watchers reached
How to increase max_user_watchers in AWS code build? Error: ENOSPC: System limit for number of file watchers reached
启动服务器以在 AWS 代码构建中测试 cypress 测试时出现此错误
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 代码构建中的最大用户观看次数?
最重要的是在构建规范 运行 命令中解决了问题
phases:
install:
commands:
- echo fs.inotify.max_user_watches=524288 | tee -a /etc/sysctl.conf && sysctl -p
启动服务器以在 AWS 代码构建中测试 cypress 测试时出现此错误
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 代码构建中的最大用户观看次数?
最重要的是在构建规范 运行 命令中解决了问题
phases:
install:
commands:
- echo fs.inotify.max_user_watches=524288 | tee -a /etc/sysctl.conf && sysctl -p