Did you know: Set Connection Limits in IIS 7 / 7.5

by vivek 12/31/2009 11:39:22 PM

Connection Timeout is a setting in IIS which asks the server to wait on an inactive connection before disconnecting it. You don’t want to waste memory resources on an idle connection and hence you should think twice before you make any changes to the default setting. I have seen number of times people increase Connection timeout setting in IIS 6 such that they don’t “connection timeout” when waiting for data on their Web page. You can use Performance Monitor to figure out what is the connection timeout value you need to set for your Web site, check Setting Connection Timeouts to Save Resources (IIS 6.0).

In IIS 6.0

  1. Right click on Web Site (Default Web Site in our case) and click on Properties
  2. Under Web Site tab under Connections you see Connection timeout

    image9

In IIS 7 / 7.5

  1. Click on the Web Site (Default Web Site in our case)
  2. In Actions panel, under Manage Web Site click Advanced Settings…
  3. Under Behavior, expand Connection Limits and you see Connection Time-out

    image10

    OR
  4. In Actions panel, under Manage Web Site –> Configure click Limits…
  5. Under Connection Limits, you can set the Connection time-out setting

    image4

When you make any changes to the Connection Time-out setting for the Web site, it gets reflected in the applicationHost.config.

<limits connectionTimeout="00:02:00" />

Hope this helps,
Vivek Kumbhar


Quote of the day:
Only dull people are brilliant at breakfast. - Oscar Wilde


blog comments powered by Disqus

Rahul Soni

Rahul Soni  Twitter

 LinkedIn

 Facebook

 Email me



Vivek Kumbhar

Vivek Kumbhar  Twitter

 LinkedIn

 Facebook

 Email me


Stack Exchange

profile for Vivek at Server Fault, Q&A for system administrators and IT professionals

profile for Rahul Soni at Stack Overflow, Q&A for professional and enthusiast programmers

Calendar

<<  May 2013  >>
MoTuWeThFrSaSu
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

View posts in large calendar

All Items
Sign in

Visit Microsoft's Site

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2013, Rahul Soni

Powered by BlogEngine.NET 1.4.5.0