Setting concurrent inbound connections
NoSpamProxy dynamically determines the number of parallel connections. The basis for this decision is the CPU and memory utilisation. To stop this behaviour, proceed as follows:
- Stop the Gateway Role.
- On the Gateway Role, go to C:\ProgramData\Net at Work Mail Gateway\Configuration\.
- Open the file Gateway Role.config.
- Search for the line that begins with the following characters:
<netatwork.nospamproxy.proxyconfiguration... - Add the following value below this line: <connectionLimits hardUpperConnectionLimit="NumberOfConnections" minimumNumberOfConcurrentSessions="NumberOfConnections" />
- Save the configuration file.
- Then start the Gateway Role.
If the values are not specified, as in this example, the dynamic limit applies (depending on the CPU load). Both values are integer values.
- With the value hardUpperConnectionLimit you set the maximum limit of connections.
- The value minimumNumberOfConcurrentSessions determines the minimum number of concurrent connections.
EXAMPLE: <connectionLimits hardUpperConnectionLimit="100" minimumNumberOfConcurrentSessions="50" />