使用Copy 时,出现此错误:
Error: "The open file ulimit level is too low, please increase it otherwise changes will not be detected properly"
Run Code Online (Sandbox Code Playgroud)
应用程序在出现时停止同步,为什么以及如何修复它?
pab*_*ara 11
1) 创建文件 /etc/sysctl.d/60-copy.conf
2)打开该文件并写入:
fs.inotify.max_user_watches = 20000
fs.file-max = 800000
Run Code Online (Sandbox Code Playgroud)
3) 保存文件并退出
4)转到终端并通过键入以下内容应用这些设置:
sudo sysctl -p /etc/sysctl.d/60-copy.conf
Run Code Online (Sandbox Code Playgroud)
5)再次启动复制应用程序,它应该可以工作。