| Content | Description |
|---|
{ | |
"Logging": {...} | see General section Общая секция Logging |
"NookDir": "/opt/iw/tm5", | In this section the module working directory is specified. By default – /opt/iw/tm5 |
"Startup": {...}, | see Configuration general settingsОбщие настройки конфигурации |
"Bookworm": {...} | see General section Bookworm |
"ExtractorCache": { | Extractors cache parameters. |
"ExtractorCacheDepth": 0, | Maximum number of objects, stored in cache, default value is 0 (cache is disabled). |
"ExtractorCacheClearExistingDir": true, | |
"ExtractorCacheMaxSize": 107374182400, | Cache maximum size, reserved on the disk (in bytes). Default value - 107374182400 (100 Gb). |
"ExtractorCacheFileMaxSize": 10485760, | File maximum size to store in cache (in bytes). Default value - 10485760 (10 Mb). |
"ExtractorCacheShards": 0 | Number of streams to store data in cache. If the value is 0 - the number of System streams, otherwise - the number of specified streams, preferable that it wasn't bigger than the System streams number, default value is - 0. |
| }, | |
| Общая секция Bookworm |
"ICAP": { | |
"SocketIoDump": false, | Save all data passing through Icap, including protocol data. |
"SessionTimeoutSec": 330, | Idle period (seconds), once it expires, the , sec. The session is to be interrupted .when it expires |
"MinDataLength": 10, | Minimum data length (in bytes) of URL-variable, which will be included in the text block, being passed to the content analysis module. |
"ListenPort": 1344, | Port, on which ICAP server listens for HTTP requests, outgoing from a proxy server with ICAP client. It is fine to use port numbers starting from 1025 |
"IcapDumpPath": "", | Path to saved objects , passed passing through Icap. |
"LogTimer": false, | HTTP requests processing time logging. To enable logging set true |
"MaxAsyncThreads": 8192, | Maximum number of streams threads for asynchronous processing of data interrupted by Icap (if "AsyncCheck": true). |
"MaxConnections": 100, | Maximum number of connections |
"NumExtractorThreads": 0, | - 0 value - an old mode. Thus, the number of extractors started is in accordance with the number of streams, and every object is to be totally, consistently processed by
one stream - (for example, a 100 files archive).
>0 - 0 value - a new mode. In this case, if the object contains the attachments (
the - that archive), they are to be processed
by maximum NumExtractorThreads - at maximum by NumExtractorThreads streams; thus the maximum number of working streams can start at the same time only NumExtractorThreads
number of - extractors.
|
"DisableIPv6": false, | Disable (DisableIPv6 = true) or enable (DisableIPv6 = false) IPv6 connection support. If IPv6 support is disabled on the ICAP server, iw_icap will start and function in the normal mode only if DisableIPv6 = true |
"AsyncCheck": true, | First, ignoring the data, then starting the data analysis . Default value false |
"PathTemporary": "tmp/icap", | Path to the ICAP server temorary files (default value/opt/iw/tm5/tmp/icap). |
"ErrorHTML": "etc/error.html", | Path to the HTML file, containing a message, to be the displayed in a web-browser message, if that a user request was blocked by the System. Default value etc/error.html. (Path is specified with regard to the current directory, which is the root directory of the System). |
"ZimbraMail": false, | Zimbra mail server parameter. |
"MaxMemoryBlock": 4096, | Maximum memory size, which is occupied by one object. |
"LogBlock": false, | Blocked HTTP requests logging. Default value false |
"ForceKeepAlive": true, | Use one TCP connection for sending and receiving multiple HTTP requests and responses instead of opening a new connection for every request-response pair. |
"FormatXmlContext": false, | Enable (true) or disable (false) XML context formatting. Used for improved readability. |
"AllMethods": false, | Enable all types of HTTP requests (POST and PUT requests) processing. Default value false |
"MinTextLength": 5 | Minimum text size (bytes), for which content analysis will be performed. Changing this parameter enables to reduce the content analysis server load. It can be realised refusing the textcontent analisysby rejecting of text, which size is too so small that it is not able to contain valuable messages. |
}, | |
"DebugBreak": false, | To send or not to send SIGTRAP If SIGTRAP should be sent (SIGBREAK to Windows) while any exception handling. Used for debugging purposes. |
"ResourceLimits": {...}, | see General section Общая секция ResourceLimits |
"Statistics": {...}, | see Общая секция Statistics |
"Permissions": {...}see | General section see Общая секция Permissions |
} | |