Build your professional network on facebook via our app Go to app
 
 
Activity:  1 comments  3921 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
Part of Randstad, the world’s second largest HR services company
Director – Commercials Jobs in Bangalore
VA TRAINER Jobs in Chennai
Intercompany Associate Jobs in Chennai
Viewers also viewed
After a cluster of disconcerting e-mails and documents surfaced last week from climate...
 
267 referals 5 comments, 67 views
Support vs Against
 
610 referals 38 arguments, 5284 views
media is changing the society vs society is changing the media
 
704 referals 29 arguments, 716 views
more...  
Recent Knowledge (82)
Go to http://www.php.net/downloads.php and download the current version. PECL modules :...
40 referals 14 comments, 993 views
By Lori Bongiorno How much radiation does your cell phone emit? It's easy to find out the answer...
479 referals 15 comments, 11410 views
  A day after he resigned, Santosh Sarode (31), a software engineer, allegedly strangled his...
1600 referals 32 comments, 1538 views
more...  
More From Author
While installing payment gateway on windows server with java. its useful.
Tips for avoid sleepiness During the Day at work
After deciding on a property,the next big thing one does is to look for a good home loan. While people think that there is no big deal in getting a home loan with Bank waiting in queue to offer home loans. getting home loan is very difficult.
more...