免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 870 | 回复: 0
打印 上一主题 下一主题

关于inetd同时建立连接的数目 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-13 17:12 |只看该作者 |倒序浏览
inetd缺省的情况下每60s可以建立的server数目是40个.
可以通过更改inetd.conf来得到更大数目.
例如:
esoobserver stream tcp nowait.60 root /bin/sh /bin/sh
/usr/local/easysoft/oob/server/server
把数目扩展到60个.
参考原文:http://www.easysoft.com/support/kb/kb00633.html
inetd counts the number of server instances created in a 60 second interval. If your OOB Server is very busy accepting a lot of connections in a short period of time, inetd may decide the OOB Server is being flooded or looping and suspend the service for a while. A typical message output by inetd looks like this:
/var/log/messages:Feb 16 14:35:41 machine inetd[52]: esoobserver/tcp
failing (looping or being flooded), service terminated for 10 min
By default, most inetd servers count 40 instances in 60 seconds as too many. If you need a higher threshold that this you need to edit your inetd.conf file and amend the OOB Server line to add a maximum number of server instances [see the inetd.conf(8) man page]. Usually, all that is involved is placing a . and a number after the nowait.
e.g.
esoobserver stream tcp nowait.60 root /bin/sh /bin/sh
/usr/local/easysoft/oob/server/server
Do not forget to tell inetd to reread its configuration files after making changes to inetd.conf.

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6783/showart_99407.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP