« Careful With That Axe, Eugene! | Main | Deer Hunter »

February 5, 2006

IIS Sucks

Q: How do I increase the connection limit for IIS 5.1 on Windows XP Pro? (#10253)

A: Windows XP Professional runs IIS version 5.1, which comes with a 10 connection limit. Often that's not enough when you are testing a site from multiple browsers (or multiple locations). You can easily increase the limit to the hardcoded maximum: 40 connections.

Make a command prompt window (start, run, cnd.exe) and issue these commands.

start - run - cmd

(note: for some reason, command acts differently than cmd. not clear why. use cmd.)

cd \inetpub\adminscripts
cscript adsutil.vbs set w3svc/MaxConnections 40
iisreset

The first command connects you to the adminscripts folder. The second command runs a script that sets the MaxConnections value in the IIS metabase to 40 (the maximum allowed). The third command (iisreset) shuts down and then restarts IIS.

Posted by Peenie Wallie on February 5, 2006 at 3:09 PM

Comments

Post a comment




Remember Me?

(you may use HTML tags for style)


NOTICE: IT WILL TAKE APPROX 1-2 MINS FOR YOUR COMMENT TO POST SUCCESSFULLY. YOU WILL HAVE TO REFRESH YOUR BROWSER. PLEASE DO NOT DOUBLE POST COMMENTS OR I WILL KILL YOU.