Configuring Mobility Service for High Performance
Topic Last Modified: 2012-10-18
When you install Microsoft Lync Server 2010 Mobility Service on Internet Information Services (IIS) 7.5, the Mobility Service installer configures some performance settings on the Front End Server. We recommend that you use IIS 7.5 for mobility. If you use IIS 7.0 on Windows Server 2008, you need to configure these settings manually. The settings affect the maximum number of concurrent user requests and the maximum number of threads that are allowed for the Mobility Service.
The performance settings are the following:
maxConcurrentThreadsPerCPU is set to zero (0).
maxConcurrentRequestsPerCPU is set to zero (0).
ASP.NET process model is set to AutoConfig (for IIS 7.5 only).
HTTP.sys queue limit is set to 1,000 (by default).
If you use IIS 7.0, we recommend that you install the update available from Microsoft Knowledge Base article 2290617, "FIX: A hotfix is available to enable the configuration of some ASP.NET properties for each application pool in IIS 7.0," at http://go.microsoft.com/fwlink/p/?linkid=3052&kbid=2290617 so that you can apply the changes only for the Mobility Service and not affect other web services.
The following procedure describes how to change the ASP.NET concurrent request and thread maximums on IIS 7.0 if you do not install the update available from Knowledge Base article 2290617. However, even if you do install Knowledge Base article 2290617, you should use the documentation provided by the article to apply the same changes only for the Mobility internal and external IIS application pools. In this case, you use a separate configuration file for the ASP.NET settings.
If you use the following procedure to change the maximums, the changes affect all IIS application pools.
For details about configuring these settings, see http://go.microsoft.com/fwlink/p/?LinkId=234537.
To change concurrent request and thread maximums
Click Start, and then click Run.
In the Run box, type the following:
Add or replace the following <system.web> element as a child of the <configuration> element in the Aspnet.config file:
<system.web> <applicationPool maxConcurrentRequestsPerCPU="<#>" maxConcurrentThreadsPerCPU="0" requestQueueLimit="5000"/> </system.web>
where # is 0 to remove the limit or the new number as described earlier in this section
Save the Aspnet.config file and close Notepad.