JaK*_*KXz 6 xcode continuous-integration osx-server ios xcode-bots
我看到的错误如下:
Test target PrototypeTests encountered an error (The operation couldn’t be completed. Too many open files in system. Too many open files in system)
Test target Prototype Integration Tests encountered an error (The operation couldn’t be completed. Too many open files in system. Too many open files in system)
Run Code Online (Sandbox Code Playgroud)
我能够毫无问题地运行分析和归档操作,但启用测试操作会导致上述错误.我甚至尝试过空测试,问题仍然存在.
sudo launchctl limit maxfiles我服务器上的输出是:
maxfiles 256 unlimited
Run Code Online (Sandbox Code Playgroud)
如果我能提供更多信息,请告诉我.
您需要增加 ulimit。您应该添加以下行:
ulimit -n 4096
在你的 ~/.profile 或类似的文件中。
您必须将此行添加到 bash 启动文件的原因是因为仅运行 sudo ulimit -n 4096 只会更改当前 bash 会话中的限制。
| 归档时间: |
|
| 查看次数: |
1402 次 |
| 最近记录: |