config.xml

This file is located in the Bin directory of the Silk Meter installation folder, for example C:\Program Files (x86)\Silk\Silk Meter 20.5\Bin.

This is the configuration file for the Silk Meter Proxy Service. This service handles all incoming requests, forwards requests that are synchronized with and are performed in the Silk Meter Core process, and then provides response data to clients. To activate changes to the configuration file, stop the Silk Meter Proxy Service, make the changes, and then restart the service again. The config.xml file also monitors the health of the Core process and, when required, restarts the Core process.

The structure of the config.xml file looks similar to the following:
<SMPSettings>
  <Server>
    <BindTo></BindTo>
    <Port>0</Port>
    <MultihomedMode>true</MultihomedMode>
    <Threads>100</Threads>
    <VerboseLevel>0</VerboseLevel>
    <VerboseFile>smSystemDebug.log</VerboseFile>
  </Server>
  <Log>
    <WebPort>19462</WebPort>
    <Refresh>20</Refresh>
    <Extended>false</Extended>
    <ClientName>false</ClientName>
    <DebugFile></DebugFile>
    <DebugMsgListLen>100000</DebugMsgListLen>
    <ClosedConnListLen>1000</ClosedConnListLen>
  </Log>
  <Settings>
    <Timeout>15000</Timeout>
    <HandleLimit>0</HandleLimit>
    <VMLimit>419430400</VMLimit>
    <KeepAlive>
      <Time>100000</Time>
      <Interval>0</Interval>
    </KeepAlive>
  </Settings>
</SMPSettings>
The following table describes the server-related tags of the config.xml file.
Tag Description
BindTo Enables the binding of the Silk Meter server listening to a specific IP address. When this parameter is not specified, Silk Meter listens on all available IP addresses.
Port Enables changing of the listening port. When this parameter is set to 0, Silk Meter listens on the default port 5461.
MultihomedMode Set this property to true if the license server has different network adapters enabled and connected.
Threads Configures how many different threads are used for incoming requests. The default value is 100.
VerboseLevel Specifies the debug level for logging. If set to 0, nothing is logged.
VerboseFile The name of the debug file. The default name is smSystemDebug.log.
The following table describes the log-related tags of the config.xml file.
Tag Description
WebPort Configures the listening port of the Status web interface. When this parameter is set to 0, no web interface is available. The default port is 19462.
Refresh Specifies the refresh interval of the Status web interface. When this parameter is set to 0, the page does not automatically refresh.
Extended When set to true, additional extended logging information is collected.
ClientName When set to true, the client names instead of client IP addresses are logged. The default is false.
ClosedConnListLen Size of the history for closed connections. The default value is 1000.
The following table describes the settings-related tags of the config.xml file.
Tag Description
Timeout Specifies the amount of time in milliseconds that a request may reside in the pending state. When the specified value is exceeded, all connections are closed and the Silk Meter Core is re-initialized. The default value is 15000.
HandleLimit Specifies the number of threads that the license server process may open. When the specified value is exceeded, all connections are closed and the Silk Meter Core is re-initialized. The default value is 0, which means that the handles are not being checked.
VMLimit Specifies the virtual memory that the license server process may consume in bytes. When the specified value is exceeded, all connections are closed and the Silk Meter Core is re-initialized. The default value is 419430400 bytes.
KeepAlive
Time
Specifies the TCP keep-alive time of all connections in milliseconds. Each time the keep-alive timer expires, the connection is probed to determine if the client is still accessible. If it is not accessible, which means the connection has been broken, the connection is closed and all associated licenses are released. The default is 100000.
Interval
Do not change this setting.