ubuntu 的最大并发连接数?
我想问一下ubuntu可以处理多少个并发连接?我听说xp最多有10个连接..我将使用它作为我的小型服务器的操作系统,并将在其上使用mysql..
i would like to ask how many concurrent connections can ubuntu handle? i heard that xp a maximum of 10 connections.. i will use it as an OS for my small server and will be using mysql on it..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能正在从一个进程建立所有 tcp 连接,并达到每个进程打开文件数的默认限制。
您可以在 shell 提示符下使用“ulimit -a”或“ulimit -n”确认该限制。
您可以使用 'ulimit -n ' 或 setrlimit() 作为 root 或通过编辑 /etc/security/limits.conf 来增加该限制。
另请参阅...
增加 tcp/ 的最大数量Linux中的ip连接
是否有限制Linux 上机器之间的 tcp/ip 连接数量?
You are probably making all of the tcp connections from one process and hitting the default limit on number of open files per process.
You can confirm that limit with 'ulimit -a' or 'ulimit -n' at a shell prompt.
You could increase that limit with 'ulimit -n ' or setrlimit() as root or by editing /etc/security/limits.conf .
Also see...
Increasing the maximum number of tcp/ip connections in linux
Is there a limit on number of tcp/ip connections between machines on linux?