文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>关于inetd同时建立连接的数目

关于inetd同时建立连接的数目

时间:2006-04-13  来源:louy2

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.
相关阅读 更多 +
排行榜 更多 +
宝宝切水果安卓版

宝宝切水果安卓版

休闲益智 下载
儿童脑筋急转弯

儿童脑筋急转弯

休闲益智 下载
袭击现场2

袭击现场2

飞行射击 下载