Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的 node.js 实例中不断收到错误,它报告错误:
(node) Hit max file limit. Increase "ulimit - n"
然而,当我检查我的 ulimit -n 时,它显示 65535。我的应用程序无法打开 65535 个连接。有没有人对其他检查有什么建议?
干杯
您可以尝试在/etc/security/limits.conf文件中设置限制。这是在文件中设置限制的“操作方法”指南(在您的情况下,它应该是nofile值)。