[心缘地方]同学录
首页 | 功能说明 | 站长通知 | 最近更新 | 编码查看转换 | 代码下载 | 常见问题及讨论 | 《深入解析ASP核心技术》 | 王小鸭自动发工资条VBA版
登录系统:用户名: 密码: 如果要讨论问题,请先注册。

[备忘]Windows XP Pro 的 IIS 5.1 最大连接数是40!!!

上一篇:[转]MailTo语法
下一篇:[备忘]超强的Server Application Error 的解决方法

添加日期:2008/7/29 23:28:57 快速返回   返回列表 阅读5570次
40是极限,再大了就没用了。

方法1:用软件如MetaEdi,编辑IIS meta,直接把LM\W3SVC下的MaxConnections改为40。

方法2:

- 開始> 執行。 
- 鍵入cmd。 
- 鍵入"cd \inetpub\adminscripts" 在提示。
- 鍵入"cscript adsutil.vbs set w3svc/MaxConnections 40" 在提示。 這將跑設置MaxConnections 價值在IIS metabase 到40 的劇本(最大值允許) 。 
- 鍵入"iisreset" 在提示。 這個命令關閉了和開始IIS 以便新設置將起作用

------------------------------------------------

Configuring XP Professional for 40 concurrent users:

Windows XP Professional runs IIS 5.1, which, by default, only supports 10 connections. The steps below enable you to increase IIS' connections limit to 40, which Windows has hardcoded as the maximum number of connections. If you want to support more then 40 concurrent users, you will need to use one of the Server operating systems.

To Increase the Connection Limit of IIS 5.1:

Select Start > Run. The Run dialog box appears. 
Type cmd into the Open field. 
Click OK. A command prompt window appears. 
Type "cd \inetpub\adminscripts" at the prompt. This will connect you to the adminscripts folder. 
Type "cscript adsutil.vbs set w3svc/MaxConnections 40" at the prompt. This will run a script that sets the MaxConnections value in the IIS metabase to 40 (the maximum allowed). 
Type "iisreset" at the prompt. This command shuts down and starts IIS so that the new settings will take effect
 

评论 COMMENTS
tongfan
2008/8/4 17:18:00
40够用了..

添加评论 Add new comment.
昵称 Name:
评论内容 Comment:
验证码(不区分大小写)
Validation Code:
(not case sensitive)
看不清?点这里换一张!(Change it here!)
 
评论由管理员查看后才能显示。the comment will be showed after it is checked by admin.
CopyRight © 心缘地方 2005-2999. All Rights Reserved