Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space TMAG and version 7.9
Sv translation
languageru

Чтобы обеспечить загрузку имеющихся очередей объектов:

  1. Остановите службы iw_icap, iw iw_deliver, iw_luaengined, iw_is, iw_smtpd, iw iw_sniffer, iw_xapi_xapi, iw_xapi_puppy, iw_analysis, iw_messed, iw_proxy_http, iw_proxy_icq, iw_proxy_smtp, iw_capstack.
  2. Переместите объекты из очереди ошибок в нужную очередь.
  3. Дождитесь, пока будут обработаны все объекты в файловой очереди.  

  4. Запустите службы iwЗапустите службы iw_icap, iw_deliver, iw iw_luaengined, iw_is, iw iw_smtpd, iw iw_sniffer, iw_xapi_xapi, iw iw_xapi_puppy, iw_analysis, iw_messed, iw_proxy_http, iw_proxy_icq, iw_proxy_smtp, iw_capstack.

Чтобы запустить все службы, выполните команду: iwtm start. По окончании процесса убедитесь, что службы запущены: iwtm status
Варианты команд для запуска/остановки отдельных служб: 

Запуск службыОстановка службы
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_icq
iwtm 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_icq
iwtm stop proxy_smtp
iwtm stop capstack

Объекты в Системе перемещаются посредством файловых очередей:

Путь к директории очереди

Формат файлов в очереди

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

Каждая из очередей содержит дополнительные технические очереди для отслеживания процесса обработки объектов: .db, .in, .out. 

Примечание
titleПример:

Для очереди queue/smtp процесс обработки разделен на следующие этапы:

  1. queue/smtp/.in – файл формируется в данной очереди в процессе получения объектов от Postfix службой iw_smtpd. Если объект по какой-то причине задерживается в этой очереди, необходимо проверить службы iw_smtpd или iw_proxy_smtp.

  2. queue/smtp/.db – по окончании обработки файл перемещается из очереди .in в очередь .db. В эту очередь попадают почтовые eml-объекты от iw_xapi 
  3. queue/smtp/.out– в эту очередь объект перемещается следующей службой в цепочке - iw_messed.

Особенность:

Очереди, обслуживающие службу iw_is, дополнительно разделяются на:

  • queue/is/cmd/ – файловая очередь команд iw_is;
  • queue/is/fetching/ – очередь команд на загрузку;
  • queue/is/indexing/ – очередь команд на индексацию;
  • queue/is/errors/ – очередь ошибок.

Очередь

Службы, которые помещают события в очередь

Служба, которая забирает события из очереди

queue/analysis 

iw_xapi_xapi, iw_xapi_puppy

iw_analysis

queue/smtp 

iw_xapi_xapi, iw_xapi_puppy, iw_smtpd, iw_proxy_smtp, iw_capstack

iw_messed

queue/db 

iw_messed, iw_analysis, iw_icap, iw_proxy_icq, iw_proxy_http

iw_x2x

queue/blackboard 

iw_x2db, iw_deliver 

iw_blackboard

queue/blackboard_errors 

ошибка при обработке iw_blackboard

-

queue/x2x
iw_x2x iw_x2db
queue/is
iw_metainfo_fetcheriw_is
queue/errors

все службы, если произошла ошибка обработки

iw_rammer



queue/x2x-errors 

ошибки обработки iw_x2x

queue/x2db-errors 

ошибки обработки iw_x2db

queue/final-errors
iw_rammer-

Сбор статистики по файловым очередям включается в конфигурационном файле службы в директории /opt/iw/tm5/etc. Установите значение true в параметре Enabled секции Statistic.  

Sv translation
languageen

To enable loading the existing object queues:

  1. Stop the following services: iw_icap, iw iw_deliver, iw_luaengined, iw_is, iw_smtpd, iw iw_sniffer, iw_xapi_xapi, iw_xapi_puppy, iw_analysis, iw_messed, iw_proxy_http, iw_proxy_icq, iw_proxy_smtp, iw_capstack.
  2. Place objects from the error queue to the required queue.
  3. Wait until all objects in the file queue are processed.  

  4. Run the following services: iw_icap, iw_deliver, iw iw_luaengined, iw_is, iw iw_smtpd, iw iw_sniffer, iw_xapi_xapi, iw 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 check if the processes are started, use the following command: iwtm status.

Commands for starting/stopping separate services: 

StartingStopping
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_icq
iwtm 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_icq
iwtm 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.

Информация
titleNote:

For the  queue/smtp process, the processing can be divided into the following steps:

  1. 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.
  2. 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.
  3. 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 

iw_xapi_xapi, iw_xapi_puppy

iw_analysis

queue/smtp 

iw_xapi_xapi, iw_xapi_puppy, iw_smtpd, iw_proxy_smtp, iw_capstack

iw_messed

queue/db 

iw_messed, iw_analysis, iw_icap, iw_proxy_icq, iw_proxy_http

iw_x2x

queue/blackboard 

iw_x2db, iw_deliver 

iw_blackboard

queue/blackboard_errors 

an error when processing iw_blackboard

-

queue/x2x
iw_x2x iw_x2db
queue/is
iw_metainfo_fetcheriw_is
queue/errors

all services in case of processing errors

iw_rammer

queue/x2x-errors 

errors when processing iw_x2x


queue/x2db-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.