Changing thread configuration settings for the .NET framework
This topic applies only to sites that run telephone interviews.
When a telephone interviewer requests a number to call, the Interviewing activity requests one from the sample management system. If the system does not have enough resources allocated for dealing with these requests, the requests will be queued and interviewers will have to wait longer than necessary to receive numbers. You can reduce the likelihood that this will happen by increasing the resources available for processing requests.
Make the following changes on each computer running the Phone Participants activity or the Interviewing Service
For computers running the Interviewing Service
1 From the Windows Start menu, choose Run.
2 In the Run dialog box, type regedit and clickOK.
3 Step down through the hierarchy to HKEY_LOCAL_MACHINE\Software\SPSS\mrInterview\3\Interviewing.
4 Right-click in the right frame, select New > DWORD value, and enter DefaultThreadPoolSize as the value name.
5 Right-click this new entry and select Modify.
6 In the Edit DWORD Value dialog, type 200 as the value and choose Decimal as the base. Click OK to save your changes.
The DefaultThreadPoolSize value is typically set to 32 times the number of CPUs. The maximum value should not exceed 600 (in most cases, a value of 200 is adequate).
7 Close the Registry Editor and restart the UNICOM Intelligence engines.
For computers running the Phone Participants activity
The Phone Participants activity is optimized via the Maxconnection setting in the C:\InetPub\wwwroot\SPSSMR\CatiInt\Web.Config file. The Maxconnection value can be set anywhere 100 - 500. The default value is 100.
Notes
▪When the Maxconnection setting is defined in the machine.config file (at:C:\Windows\Microsoft.Net\Framework\<version>\CONFIG (for x86 ASP.NET), orC:\Windows\Microsoft.Net\Framework64\<version>\CONFIG (for x64 ASP.NET)), the value must match the setting in the CatiInt\Web.Config file.
▪When the setting does not match between the machine.config and CatiInt\Web.Config files, you must use add the <clear />element to the <connectionManagement> section in the CatiInt\Web.Config file. The <clear /> element forces the configuration system to ignore all of the machine.config connection strings in favor of the CatiInt\Web.Config connection strings. For example:
<connectionManagement>
<clear/> <add address="*" maxconnection="500"/>
</connectionManagement>
▪You can also use the <remove> element to ignore a single connection string in the machine.config file . For example:
<connectionManagement>
<remove address="*"/> <add address="*" maxconnection="500"/>
</connectionManagement>
See