ios – Xcode服务器僵尸程序测试操作失败,因为“系统中打开的文
发布时间:2020-12-14 19:40:36 所属栏目:百科 来源:网络整理
导读:我看到的错误如下: 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 operat
我看到的错误如下:
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) 我能够毫无问题地运行分析和归档操作,但启用测试操作会导致上述错误.我甚至尝试过空测试,问题仍然存在. 我的服务器上sudo launchctl limit maxfiles的输出是: maxfiles 256 unlimited 如果我能提供更多信息,请告诉我. 解决方法
你需要增加你的ulimit.您应该添加以下行:
在你的?/ .profile或类似的. 您必须将此行添加到bash启动文件的原因是因为只运行sudo ulimit -n 4096只会更改当前bash会话中的限制. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |