Skip to main content
Kofax

How do I increase the WCF max connection limit for KSMS in order to help alleviate connection errors?

22455

QAID # 22455 Published

Question / Problem:

How do I increase the WCF max connection limit for KSMS in order to help alleviate connection errors?

Answer / Solution:

If KSMS is hitting the max concurrent connection limit of 128, which can result in the following error message in KTA: None of the configured fuzzy database servers are available.then complete the following steps:

Create a Kofax.KSMS.Service.exe.config text file and place it in the default location of the KSMS service, which is C:\Program Files\Kofax\SearchMatchingServer.

In the file, paste the following:

<?xml version="1.0"?>
<configuration>
  <appSettings>
    <!-- WCF Throttling settings for the service. WcfThrottlingMaxConcurrentCalls and
             WcfThrottlingMaxConcurrentSessions must have the same value.-->
    <add key="WcfThrottlingMaxConcurrentCalls" value="128" />
    <add key="WcfThrottlingMaxConcurrentSessions" value="128" />
    <add key="WcfThrottlingMaxConcurrentInstances" value="2147483647" />
  </appSettings>
</configuration>

The methodology in testing is to double the WcfThrottlingMaxConcurrentCalls and WcfThrottlingMaxConcurrentSessions values (e.g. 128 --> 256)

Note: It is important that WcfThrottlingMaxConcurrentCalls and WcfThrottlingMaxConcurrentSessions are set to the same value.

Take care not to overload the machine by setting the values too high. Keeping an eye on the KSMS performance counters or the CPU usage from the KSMS machine is expected here.

Applies To:

Product Version Category
AXPRO 6.0 KSMS
AXPRO 6.1 KSMS
AXPRO 6.2 KSMS