Build your professional network on facebook via our app Go to app
 
 
Activity:  1 comments  3223 views  last activity : 02 16 2011 11:31:24 +0000
Share
 
 
 

Change max concurrent requests per CPU setting

By default IIS7 has a limit of handling 12 concurrent requests per CPU and will queue requests above this limit. If you have some significant web load and many AJAX style requests to your server - this setting maybe very restrictive and it is hard to find out the root of the problem when you server performance is suddenly degraded.

 

See this post to get the picture how it can cause performance issues on your server.

 

Some relevant info about asp.net thread usage on IIS7 here:

 

 

asp.net thread usage on IIS7 and IIS6

 

Thomas Marquardt advice is to change this default limit. Recommended settings:

 

"All of this may be a little confusing, but for nearly everyone, my recommendation is that for ASP.NET 2.0 you should use the same settings as the defaults in ASP.NET v4.0; that is, set maxConcurrentRequestsPerCPU = "5000" and maxConcurrentThreadsPerCPU="0".

 

This is done by adding DWORD MaxConcurrentRequestsPerCPU to the registry under

 

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\2.0.50727.0

 

called MaxConcurrentRequestsPerCPU (DWORD). This key doesn't exist by default. Or/and in aspnet.config section which overrides registry setting (also doesn't exist by default) aspnet.config is here on windows 64bit:

 

%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet.config

 

You need to add the following section under "configuration" section (here I used default values) - don't forget change maxConcurrentRequestsPerCPU to 5000.

 

< system.web>
< applicationPool
maxConcurrentRequestsPerCPU="12"
maxConcurrentThreadsPerCPU="0"
requestQueueLimit="5000" />
< /system.web>



http://www.indsoft.net   host your website for best performance

dedicated server computer help

iis server help tricks
sql server help tricks
dedicated server
server hardware
computer help

 
1 comments on "iis 7 change concurrunt connection limit in iis7 for maximum connection"
  Commented by  sumitra dutta, Consultant, Keane    | 02 17 2010 09:39:20 +0000
Thanks for sharing.
Add your comment on "iis 7 change concurrunt connection limit in iis7 for maximum connection"

Rate:
Submit
 
Viewers also viewed
Change max concurrent requests per CPU setting By default IIS7 has a limit of handling 12...
 
0 referals 1 comments, 2240 views
Over eighty years after the first Dandi march a group of people in different states of the...
 
1055 referals 12 arguments, 120 views
present age is a age when maximum use of the machinery is being done. we donot have physical...
 
1129 referals 11 arguments, 128 views
more...  
Recent Knowledge (182)
Queen Elizabeth Scared Empire Falling Apart The Queen has expressed concern that she might be...
 
81 referals 1 comments, 0 views
Why do we worship tulasi ? In Sanskrit, tulanaa naasti athaiva tulasi - that which is...
 
1844 referals 20 comments, 253 views
Data encryption has become a sad necessity for responsible data managers. However cryptography...
 
126 referals 8 comments, 400 views
more...  
More From Author
In May, LinkedIn launched a USD $ 4.3 billion IPO at USD 45/per share, stock debut USD $ 120 on very first day of trading leading the valuation of USD $9 Billion. According to data provided by Morningstar, 42 Mutual Funds now own shares of social...
IndSoft extends it Mega Domain Registration Offer IndSoft.net, a leading web hosting company, provider of Premium Hosting Managed Dedicated Server, today announced extension of its Mega discounts on Domain Registration Plan. In view of the...
  For most email users, using an email Spam filter to get rid of Spam is the only viable alternative to manually sifting through large numbers of junk email every day. There are different kinds of filters: User defined filters are included in...
more...