ubuntu 的最大并发连接数?

发布于 2024-08-30 20:55:52 字数 79 浏览 2 评论 0原文

我想问一下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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

涙—继续流 2024-09-06 20:55:52

您可能正在从一个进程建立所有 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?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文