Tuesday, August 23, 2005

Increase concurrent connection limit in IIS

Increase the 10 concurrent connection limitAre you getting 403.9 "Access Forbidden: Too many users are connected" errors on an XP Pro website? You're limited by default to 10 concurrent connections by design, but this can be increased. First, make sure your default windows script host is set to the console (cscript.exe) one.

cscript //h:cscript

Next, let's increase the connection limit to 40.

C:\Inetpub\AdminScripts\adsutil set w3svc/MaxConnections 40

Note that this is a hard-coded limit; it can't be increased any further unless you like patching windows system files. You can, however, make the IIS connection timeout more aggressive so connections don't last as long.

0 பின்னூட்டங்கள்: