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
|