To enable loading the existing object queues: - Stop the following services:
iw_icap, iw_deliver, iw_luaengined, iw_is, iw_smtpd, iw_sniffer, iw_xapi_xapi, iw_xapi_puppy, iw_analysis, iw_messed, iw_proxy_http, iw_proxy_icq, iw_proxy_smtp, iw_capstack. - Place objects from the error queue to the required queue.
Wait until all objects in the file queue are processed. - Run the following services:
iw_icap, iw_deliver, iw_luaengined, iw_is, iw_smtpd, iw_sniffer, iw_xapi_xapi, iw_xapi_puppy, iw_analysis, iw_messed, iw_proxy_http, iw_proxy_icq, iw_proxy_smtp, iw_capstack.
To start all the services, run the command: iwtm start. To To check if the processes are started, use the following command: iwtm status. Commands for starting/stopping separate services: | Starting | Stopping |
|---|
iwtm start icap
iwtm start deliver
iwtm start luaengined
iwtm start is
iwtm start smtpd
iwtm start sniffer
iwtm start xapi_xapi
iwtm start xapi_puppy
iwtm start analysis
iwtm start messed
iwtm start proxy_http iwtm start proxy_icqiwtm start proxy_smtp
iwtm start capstack
| iwtm stop icap
iwtm stop deliver
iwtm stop luaengined
iwtm stop is
iwtm stop smtpd
iwtm stop sniffer
iwtm stop xapi_xapi
iwtm stop xapi_puppy
iwtm stop analysis
iwtm stop messed
iwtm stop proxy_http iwtm stop proxy_icqiwtm stop proxy_smtp
iwtm stop capstack
|
Objects in the System are moved by means of file queues: Path to the directory of the queue | Format of files in the queue |
|---|
queue/analysis | .xml & .dat
| queue/smtp
| .xml & .dat
| queue/db
| .xml & .dat
| queue/blackboard
| .dat
| queue/blackboard_errors
| .dat
| queue/is
| .xml & .dat
| queue/x2x
| .xml & .dat
| queue/errors
| .xml & .dat
| queue/x2x-errors
| .xml & .dat
| queue/x2db-errors
| .xml & .dat
| queue/final-errors
| .xml & .dat
|
Each queue contains additional technical queues which allow you to monitor for processing objects: .db, .in, .out. | Информация |
|---|
| For the queue/smtp process, the processing can be divided into the following steps: queue/smtp/.in – as the iw_smtpd service receives objects from Postfix, a file is generated in this queue. If for some reason, the object processing in this queue is delayed, please, check iw_smtpd or iw_proxy_smtp service.queue/smtp/.db – when the processing is complete, the file is moved from the .in queue to the .db queue. EML mail objects from iw_xapi are placed in this queue.queue/smtp/.out– the object is placed in this queue by the following service - iw_messed.
Note that: Queues of the iw_is service are additionally divided into: queue/is/cmd/ – a file queue of iw_is commands;queue/is/fetching/ – a queue of commands for loading;queue/is/indexing/ – a queue of commands for indexing;queue/is/errors/ – an error queue.
|
Queue name | Services that place an event in the queue | Services that remove an event from the queue |
|---|
queue/
| analysis analysis
| iw_xapi_xapi, iw_xapi_puppy
| iw_analysis
| queue/
| smtp smtp
| iw_xapi_xapi, iw_xapi_puppy, iw_smtpd, iw_proxy_smtp, iw_capstack
| iw_messed
| queue/
| db db
| iw_messed, iw_analysis, iw_icap, iw_proxy_
| icq, iw_proxy_blackboard deliver deliver
| iw_blackboard
| queue/blackboard_
| errors errors
| an error when processing iw_blackboard | - | queue/x2x
| iw_ | x2x x2x | iw_x2db | queue/is
| iw_metainfo_fetcher | iw_is | queue/errors
| all services in case of processing errors | iw_rammer
| queue/x2x-
| errors errors
| errors when processing iw_x2x |
| queue/x2db-
| errors errors
| errors when processing iw_x2db |
| queue/final-errors
| iw_rammer | - |
You can enable collecting statistics on file queues in the service configuration file which is located in the /opt/iw/tm5/etc directory. For this, in the Statistic section, set the Enabled parameter value to true. |