IIS7 ASP>Session Properties AND Web Site>Connection Limits. Is there any best optimized settings?http://forums.asp.net/t/1809704.aspx/1?IIS7+ASP+Session+Properties+AND+Web+Site+Connection+Limits+Is+there+any+best+optimized+settings+Thu, 02 Aug 2012 04:23:04 -040018097045007082http://forums.asp.net/p/1809704/5007082.aspx/1?IIS7+ASP+Session+Properties+AND+Web+Site+Connection+Limits+Is+there+any+best+optimized+settings+IIS7 ASP>Session Properties AND Web Site>Connection Limits. Is there any best optimized settings? <p>Just want to ask if there's a <strong>best #s&nbsp;of limits</strong> in&nbsp;<strong>ASP &gt; Session Properties</strong> in IIS7.&nbsp; I know in IIS6 we can based in the number of CPUs and stuff.&nbsp; Right now the defaults are below, plase advise if this is ok to be left as is thought the max session limit seems to be really high: 4294967295</p> <p><strong>&nbsp;Session Properties:</strong></p> <p>Maximum Sessions: <strong>4294967295</strong></p> <p>Time-out: <strong>20 (mins)</strong></p> <p>&nbsp;</p> <p>Also on the <strong>Web Site &gt; Advance Properties &gt; Connection Limits. </strong> What would be the <strong>best #s of limit</strong> can be set i.e. for number of CPUs 2 or 4?&nbsp; below are the Defaul settings, please advise what would be the appropriate limits, this seems to be really high.</p> <p>Connection time-out: <strong>600</strong></p> <p>Maximum Bandwidth: <strong>4294967295</strong></p> <p>Maximum Concorrent Sessions: <strong>4294967295</strong></p> 2012-06-01T06:59:26-04:005090729http://forums.asp.net/p/1809704/5090729.aspx/1?Re+IIS7+ASP+Session+Properties+AND+Web+Site+Connection+Limits+Is+there+any+best+optimized+settings+Re: IIS7 ASP>Session Properties AND Web Site>Connection Limits. Is there any best optimized settings? <p>Hi, I had similiar concerns before, and it was very difficult for me to find&nbsp;optimal values with very good reasons to limit.<br> In most case, I think the values are as high as possible, because&nbsp;end-users doesn't want to see errors because of&nbsp;my settings.&nbsp;<br> Otherwise, I should prepare&nbsp;perfect reasons to explain the reasons why they should meet the errors, very well.</p> <p>In terms of session peroperties, high values can be a concern for worker process memory(w3wp), can be shown in a task manager(Virtual Memory Size).&nbsp; If it's stable enough, much lesser than 2GB, or 1GB, &amp; never causes OOM(out-of-memory), you can leave them default. otherwise, it's better to follow troubleshooting instructions for memory leak issues of web applications.</p> <p>In terms of connection time-out, you adjusted a default value which is 120 seconds to 600. I think it's reasonable as long as it's between 2 minutes &amp; 15 minutes(A default value of IIS5).&nbsp; Browsers also have connection time-out, so shorter one will be applied, and connections are being closed by browsers anyway. (I&nbsp;remember it's around 100 seconds, not sure). if you set this shorter than 100, there can be other concerns, such as connections need to be&nbsp;reestablished more frequently, which can be overhead of CPU.</p> <p>In terms of bandwidth, this can be useful when your IIS hosts multiple web sites, and you don't want to allow a single site to occupy whole network bandwidth. Web Hosting companies condier using this because&nbsp;each site&nbsp;for each customer, pay same cost for running their sites, never wants to be bothered by others sites. So, you can limit bandwidth for every sites to&nbsp;share bandwidth fairly, by limiting&nbsp;maximum&nbsp;bandwidth&nbsp;for each site. otherwise, you dont' need to limit bandwidth.</p> <p>hope this helps.</p> <p>&nbsp;</p> 2012-08-01T07:06:17-04:005092021http://forums.asp.net/p/1809704/5092021.aspx/1?Re+IIS7+ASP+Session+Properties+AND+Web+Site+Connection+Limits+Is+there+any+best+optimized+settings+Re: IIS7 ASP>Session Properties AND Web Site>Connection Limits. Is there any best optimized settings? <p>there will be no exact answer for this.</p> <p>the best session timed out and connection limit is depended on your requirements, considering the working time on site you need and the security reason will be a concern in setting these session and connection limit value.</p> 2012-08-02T04:23:04-04:00