| СодержимоеContent | ОписаниеDescription |
|---|
{ | |
"Logging": {...} | see General section Logging |
"FileQueues": { | Files queues |
"ErrorsQueue": "queue/x2db-errors", | Path to errors queue |
"InQueue": "queue/x2x", | Path to the queue, where x2db gets the data to paste to DB. |
"QueueWaitTimeMilliseconds": 100 | Time of waiting data from "InQueue" file queue. If the time's passed and the data is absent, the programme starts new waiting cycle, preliminary ensured that the stop wasn't requested. |
}, | |
| see Общая секция Logging |
"NookDir": "/opt/iw/tm5", | In this section the module working directory is specified. By default – /opt/iw/tm5. |
"Startup": {...}, | see Configuration general settings Общие настройки конфигурации |
"OracleUtf8Processing": { | Section of special UTF8 processing Special processing section UTF8 for Oracle DB. |
"Enabled": true, | Enable To enable processing (changing the value is unwelcomeinadvisable). |
"Substituter": 95 | ASCII-code of replacing substitutional symbol for 4+ bytes byte UTF8 (changing the value is unwelcome, it is not recommended to change this value, it is always more than 32). |
}, | |
"DebugBreak": false, | If SIGTRAP should be sent (SIGBREAK to Windows) while any exception handling. Used for debugging purposes. |
"Performance": {Performance configuration section. | Section of performance settings |
"Oracle": { | Settings specific Backend settings, specific for Oracle backend.
|
"ChunkClobBlobSizeInMb": 2047, | Chunk size (Mb) setup for fragmented content recording. |
"MemoryPerLobThreshold": 10485760 | LOBs limits before recording to Oracle (in bytes)record limit in Oracle. Once achieved , the record is done this to be recorded in DB. When the value is getting lowdecreasing, the memory footprint is getting low as well. Limitation: not more than also decreasing. Not more that 2Gb. |
}, | "Postgress": | { | PostgreSQL backend specific settings. |
"ChunkClobBlobSizeInMb": 100, | Chunk size (Mb) setup for fragmented content recording (limitation: 1 Gb maximum) |
| | |
"General": { | Section of performance geneneral general settings . |
"ObjectsMax": { | Objects processing limits. |
"MaxFreeCollectorsChokeLimitWindow": 10, | Number of collectors, able for "living" without any activity (creating a new collector and issuing memory to it is more expensive than taking one from the pool.
"CollectorsForFillLimitobjects above ConnectionsMax + PreparedCollectorsLimit, starting from it iw_loader will report about overload and will demand to stop sending new objects |
"PreparedCollectorsLimit": 10, | Number of objects able for pasting when , ready to be pasted while all DB connections are busy with ready objects. |
"HardLimitWindow": 10, | Number of objects above ChokeLimitWindow + ConnectionsMax + PreparedCollectorsLimit, Starting form it iw_loader will start refusing to accept new objects |
"ConnectionsMax": 10 | Number of simultaneous connections to DB. |
} | |
} | |
}, | |
"DBWorkersCount": 5, | Number of streams, pasting into DB. There is no use in setting the value more than possible ConnectionsMax. Normal value = (2 - 3) * WorkersCount. |
"WorkersCount": 5, | Number of streams, taking data from "InQueue" queue, fulfilling the collectors and transferring the fulfilled collectors into DBWorkersCount streams. "Linearizer": { | Setup of received big (stream) data buffering |
"Path": "tmp", | Path to linearizer's temporary files |
"Limit": 1048576 | Memory usage limit specified in bytes. Once achieved CD data dropping will start |
}, | |
"ResourceLimits": {...}, | see General section ResourceLimitssee Общая секция ResourceLimits |
"Isler": {...} | see Общая секция Isler |
"Permissions": {...}see | General section see Общая секция Permissions |
} | |