How to Configure Concurrent Sessions and Calls
Updated: May 13, 2016
Applies To: System Center 2012 SP1 - Service Manager, System Center 2012 R2 Service Manager, System Center 2012 - Service Manager
By limiting the number of concurrent calls and sessions on the Web Content Server in System Center 2012 – Service Manager, you can limit the number of resources used by the Self-Service Portal. Use the following procedure to configure the number of concurrent calls and sessions. For more information, see the MSDN article <serviceThrottling> to specify the throttling mechanism of a Windows Communication Foundation (WCF) service.
To configure concurrent calls and sessions
Log in to the computer hosting the Web Content Server with administrative privileges.
Using a text editor of your choosing (for example, Notepad), open the Web.config file in the %inetroot%\inetpub\wwwroot\System Center Service Manager Portal\servicehost folder.
Locate the <serviceBehaviors> section, as shown in the following example:
<system.serviceModel> <behaviors> <serviceBehaviors> <behavior name="DefaultHttpServiceBehavior"> <serviceMetadata httpGetEnabled="true"/> <serviceDebug includeExceptionDetailInFaults="true"/> <dataContractSerializer maxItemsInObjectGraph="2147483647"/> </behavior> <behavior name="DefaultHttpsServiceBehavior"> <serviceMetadata httpsGetEnabled="true"/> <serviceDebug includeExceptionDetailInFaults="true"/> <dataContractSerializer maxItemsInObjectGraph="2147483647"/> </behavior> </serviceBehaviors> </behaviors>
Add the line <serviceThrottling maxConcurrentCalls="160" maxConcurrentSessions="10000"/> in both the DefaultHttpServiceBehavior and DefaultHttpsServiceBehavior sections, as shown in the following example:
<system.serviceModel> <behaviors> <serviceBehaviors> <behavior name="DefaultHttpServiceBehavior"> <serviceMetadata httpGetEnabled="true"/> <serviceThrottling maxConcurrentCalls="160" maxConcurrentSessions="10000"/> <serviceDebug includeExceptionDetailInFaults="true"/> <dataContractSerializer maxItemsInObjectGraph="2147483647"/> </behavior> <behavior name="DefaultHttpsServiceBehavior"> <serviceMetadata httpsGetEnabled="true"/> <serviceDebug includeExceptionDetailInFaults="true"/> <serviceThrottling maxConcurrentCalls="160" maxConcurrentSessions="10000"/> <dataContractSerializer maxItemsInObjectGraph="2147483647"/> </behavior> </serviceBehaviors> </behaviors>
Close your text editor, and save the changes.
See Also
Managing the System Center 2012 - Service Manager Self-Service Portal