【问题标题】:Increase max connection to node.js/socket.io增加到 node.js/socket.io 的最大连接
【发布时间】:2012-06-14 16:44:33
【问题描述】:

我注意到node.jssocket.io 的最大并发连接数约为 1000 个。

是否可以在 Linux 上使用ulimit 命令增加该数字?将ulimit设置为65536可以解决我的问题吗?

【问题讨论】:

  • 是的,很有可能。默认 ulimit 值为 1024

标签: linux node.js centos socket.io


【解决方案1】:

将运行 node.js 的用户帐户的ulimit 设置为更高的数字。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-10
    • 1970-01-01
    • 2018-05-14
    • 2013-03-30
    相关资源
    最近更新 更多